Skip to content

Commit cd79c93

Browse files
committed
Enable relatively modern x86-64 extensions
1 parent 313afce commit cd79c93

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+
[target.x86_64-unknown-linux-gnu]
2+
# Assume the x86_64-v2 psABI, and add the required CPU features
3+
# This is a good balance between enabling modern CPU features and compatibility
4+
rustflags = ["-C", "target-feature=+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt"]

0 commit comments

Comments
 (0)