-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows installer and other tweaks
- Loading branch information
Showing
3 changed files
with
92 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[target.'cfg(target_arch = "x86_64")'] | ||
# Require AES-NI on x86-64 by default | ||
rustflags = ["-C", "target-feature=+aes"] | ||
|
||
[target.'cfg(target_arch = "aarch64")'] | ||
# TODO: Try to remove once https://github.com/paritytech/substrate/issues/11538 is resolved | ||
# TODO: AES flag is such that we have decent performance on ARMv8, remove once `aes` crate bumps MSRV to at least | ||
# 1.61: https://github.com/RustCrypto/block-ciphers/issues/373 | ||
rustflags = ["--cfg", "aes_armv8"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters