Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uses of arm crypto target feature #1407

Merged
merged 2 commits into from
Apr 1, 2023

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Apr 1, 2023

Similar to #1192 and #1146 done for aarch64, but for arm.

Those PRs skipped arm for compatibility with older LLVM (#1146 (comment)), but the current nightly's minimum LLVM version is 14 (rust-lang/rust@a06aaa4), so we can do this.

Original motivation is: rust-lang/rust#84665 (comment)

LLVM has moved away from a combined "crypto" feature and now uses separate "aes" and "sha2" features. We should do the same here.

(After this is merged, I will send a patch to rust-lang/rust to remove the "crypto" target feature.)

@rustbot
Copy link
Collaborator

rustbot commented Apr 1, 2023

r? @Amanieu

(rustbot has picked a reviewer for you, use r? to override)

@Amanieu Amanieu merged commit c0244ce into rust-lang:master Apr 1, 2023
@taiki-e taiki-e deleted the arm-crypto branch April 1, 2023 17:44
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 8, 2023
Remove arm crypto target feature

Follow-up to rust-lang/stdarch#1407.

LLVM has moved away from a combined `crypto` feature on both aarch64 and arm, and we did the same on aarch64, but were deferred from doing the same on arm due to compatibility with older LLVM.

As the minimum LLVM version has increased, we can now remove this (unstable) target feature on arm.

r? `@Amanieu`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants