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

+1 -1
View File
@@ -2,6 +2,6 @@ FROM gcc:12.2.0
WORKDIR /usr/app
COPY ./ /usr/app
RUN gcc ./*.c* -o solution.exe -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors
RUN gcc ./*.c* -o solution.exe -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
CMD ["./solution.exe"]