Skip to content

Commit 0a716b9

Browse files
committed
Use the x86-64-v2 pseudo-ABI when building for x86_64 targets
1 parent f0e14ee commit 0a716b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.config/cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# On x86_64, we target the x86-64-v2 psABI, as it is a good compromise between
2+
# modern CPU instructions and compatibility.
3+
[target.x86_64-unknown-linux-gnu]
4+
rustflags = ["-C", "target-cpu=x86-64-v2"]

0 commit comments

Comments
 (0)