Skip to content

Commit

Permalink
Do not mandate use of SHA-NI instruction (#11973)
Browse files Browse the repository at this point in the history
That said, development currently happens on machines with this
instruction enabled and our fee structure will assume use of this
instruction in the long run, meaning that this instruction will become
required to keep up with the network in due time anyway.

This also fixes other feature names. I had looked at the LLVM names,
rather than Rust ones in the list 🤦
  • Loading branch information
nagisa authored Aug 20, 2024
1 parent 77b3507 commit 6c39e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
rustflags = ["-Cforce-unwind-tables=y"]

[target.'cfg(target_arch = "x86_64")']
rustflags = ["-Ctarget-feature=+sse2,+ssse3,+sse4.1,+sse4.2,+sha,+popcnt,+fma,+bmi,+bmi2,+lzcnt,+movbe,+pclmul,+sahf", "-Cforce-unwind-tables=y"]
rustflags = ["-Ctarget-feature=+sse2,+ssse3,+sse4.1,+sse4.2,+popcnt,+fma,+bmi1,+bmi2,+lzcnt,+movbe,+pclmulqdq", "-Cforce-unwind-tables=y"]

0 comments on commit 6c39e40

Please sign in to comment.