mirror of
https://github.com/danbulant/adventOfCode
synced 2026-05-19 04:08:32 +00:00
enable more optimalizations
This commit is contained in:
parent
7288c83128
commit
f805ca5640
2 changed files with 4 additions and 0 deletions
|
|
@ -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
2
2023/16/build.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/fish
|
||||
RUSTFLAGS='-C target-feature=+crt-static -C target-cpu=native' cargo build -r
|
||||
Loading…
Reference in a new issue