Use the x86-64-v2 pseudo-ABI when building for x86_64 targets
This commit is contained in:
4
.config/cargo.toml
Normal file
4
.config/cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
# On x86_64, we target the x86-64-v2 psABI, as it is a good compromise between
|
||||
# modern CPU instructions and compatibility.
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
rustflags = ["-C", "target-cpu=x86-64-v2"]
|
||||
Reference in New Issue
Block a user