summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.nix2
1 files changed, 1 insertions, 1 deletions
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";
}