nix: Optimize for CPU.
This commit is contained in:
parent
7c99ff58fd
commit
d5db892902
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ pkgs.mkShell {
|
|||
lld_10
|
||||
# pkgconfig
|
||||
];
|
||||
RUSTFLAGS = "-C link-arg=-fuse-ld=lld";
|
||||
RUSTFLAGS = "-C link-arg=-fuse-ld=lld -C target-cpu=native";
|
||||
RUST_BACKTRACE = "1";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue