nix: Optimize for CPU.

This commit is contained in:
Blaž Hrastnik 2021-01-19 16:19:27 +09:00
parent 7c99ff58fd
commit d5db892902

View File

@ -6,7 +6,7 @@ pkgs.mkShell {
lld_10 lld_10
# pkgconfig # pkgconfig
]; ];
RUSTFLAGS = "-C link-arg=-fuse-ld=lld"; RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
RUST_BACKTRACE = "1"; RUST_BACKTRACE = "1";
} }