enable more optimalizations

This commit is contained in:
Daniel Bulant 2023-12-17 17:42:29 +01:00
parent 7288c83128
commit f805ca5640
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ edition = "2021"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
[target.x86_64-unknown-linux-gnu]
rustflags = [

2
2023/16/build.sh Normal file
View file

@ -0,0 +1,2 @@
#!/bin/fish
RUSTFLAGS='-C target-feature=+crt-static -C target-cpu=native' cargo build -r