diff --git a/shell.nix b/shell.nix index e0a26045..9c63ab9f 100644 --- a/shell.nix +++ b/shell.nix @@ -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"; }