diff --git a/shell.nix b/shell.nix index e0a260456..9c63ab9f6 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"; }