summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index c82825c..af130b7 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -7,3 +7,5 @@ SLANG_USE_PREBUILT = "1"
[target.'cfg(unix)']
rustflags = ["-Clink-arg=-Wl,-rpath,$ORIGIN"]
+[target.'cfg(target_arch = "x86_64")']
+rustflags = ["-C", "target-cpu=x86-64-v2"]