CPU: ARM: Remove bogus static assertion about 32-bit ARM.

It is possible that a 32-bit ARM target could have static crypto CPU features.
This commit is contained in:
Brian Smith 2023-09-30 20:55:19 -07:00
parent 301f31671b
commit bad63fb73f

View File

@ -266,9 +266,6 @@ prefixed_export! {
// target_feature="sha3"
// ```
#[allow(clippy::assertions_on_constants)]
const _NON_AARCH64_HAS_ZERO_ARMCAP_STATIC: () =
assert!((ARMCAP_STATIC == 0) || cfg!(target_arch = "aarch64"));
#[allow(clippy::assertions_on_constants)]
const _AARCH64_HAS_NEON: () =
assert!(((ARMCAP_STATIC & NEON.mask) == NEON.mask) || !cfg!(target_arch = "aarch64"));
#[allow(clippy::assertions_on_constants)]