Skip to content

Commit

Permalink
aes: remove use of aarch64_target_feature
Browse files Browse the repository at this point in the history
It's been stabilized: rust-lang/rust#90620

Because of that, it's breaking the build on recent nightlies:

https://github.com/RustCrypto/block-ciphers/runs/7968517726?check_suite_focus=true#step:7:103

> error: the feature `aarch64_target_feature` has been stable since
> 1.61.0 and no longer requires an attribute to enable
  • Loading branch information
tarcieri committed Aug 25, 2022
1 parent ca6a657 commit cbe3af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions aes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs, rust_2018_idioms)]
#![cfg_attr(
all(aes_armv8, target_arch = "aarch64"),
feature(stdsimd, aarch64_target_feature)
)]
#![cfg_attr(all(aes_armv8, target_arch = "aarch64"), feature(stdsimd))]

#[cfg(feature = "hazmat")]
pub mod hazmat;
Expand Down

0 comments on commit cbe3af9

Please sign in to comment.