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 unnecessary cfgs on SIMD type impls #930

Merged
merged 1 commit into from
Jul 8, 2023
Merged

Conversation

newpavlov
Copy link
Member

Closes #929

@newpavlov newpavlov requested a review from tarcieri July 6, 2023 19:27
@@ -8,13 +8,13 @@ use crate::{atomic_fence, volatile_write, Zeroize};
use core::arch::aarch64::*;

macro_rules! impl_zeroize_for_simd_register {
($(($type:ty, $vdupq:ident)),+) => {
($($type:ty),* $(,)?) => {
$(
#[cfg_attr(docsrs, doc(cfg(target_arch = "aarch64")))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this can be removed too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uint8x8_t and others are available only on AArch64 targets, so I don't think so.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this crate hasn’t been moved to doc_auto_cfg yet

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.

Building for non-sse x86 (e.g. debian i386) with the zeroize feature fails.
2 participants