diff --git a/2023/16/Cargo.toml b/2023/16/Cargo.toml index bef978f..8a25d7f 100644 --- a/2023/16/Cargo.toml +++ b/2023/16/Cargo.toml @@ -8,6 +8,8 @@ edition = "2021" [profile.release] opt-level = 3 +lto = "fat" +codegen-units = 1 [target.x86_64-unknown-linux-gnu] rustflags = [ diff --git a/2023/16/build.sh b/2023/16/build.sh new file mode 100644 index 0000000..5e49cd1 --- /dev/null +++ b/2023/16/build.sh @@ -0,0 +1,2 @@ +#!/bin/fish +RUSTFLAGS='-C target-feature=+crt-static -C target-cpu=native' cargo build -r \ No newline at end of file