4f26ffd447
* Fix project name, links, rename binary * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update updater/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: David <dvdplm@gmail.com>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
# NOTE: if you make changes here, remember to also update:
|
|
# scripts/test-linux.sh
|
|
# scripts/build-linux.sh
|
|
# scripts/build-windows.sh
|
|
|
|
# Using 'cfg` is broken, see https://github.com/rust-lang/cargo/issues/6858
|
|
#[target.'cfg(target_arch = "x86_64")']
|
|
#rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]
|
|
|
|
# …so instead we list all target triples (Tier 1 64-bit platforms)
|
|
[target.x86_64-unknown-linux-gnu]
|
|
# Enables the aes-ni instructions for RustCrypto dependency.
|
|
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]
|
|
|
|
[target.x86_64-pc-windows-gnu]
|
|
# Enables the aes-ni instructions for RustCrypto dependency.
|
|
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
# Enables the aes-ni instructions for RustCrypto dependency.
|
|
# Link the C runtime statically ; https://github.com/openethereum/openethereum/issues/6643
|
|
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3", "-Ctarget-feature=+crt-static"]
|
|
|
|
[target.x86_64-apple-darwin]
|
|
# Enables the aes-ni instructions for RustCrypto dependency.
|
|
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]
|
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
# Enables the aes-ni instructions for RustCrypto dependency.
|
|
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]
|