perf: use optimization options for Rust and gcc

This commit is contained in:
Divlo committed 2022-09-24 22:17:07 +02:00
1 parent 5e5a248238
commit df539a41c0
6 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
FROM rust:1.63.0
FROM rust:1.64.0
WORKDIR /usr/app
COPY ./ /usr/app
RUN rustc solution.rs
RUN rustc -C debuginfo=0 -C opt-level=3 -C target-cpu=native solution.rs
CMD ["./solution"]