diff --git a/crates/core_arch/src/lib.rs b/crates/core_arch/src/lib.rs index 36079eade1..58554b7ba6 100644 --- a/crates/core_arch/src/lib.rs +++ b/crates/core_arch/src/lib.rs @@ -32,6 +32,7 @@ abi_unadjusted, adx_target_feature, rtm_target_feature, + f16c_target_feature, external_doc )] #![cfg_attr(test, feature(test, abi_vectorcall, untagged_unions))] diff --git a/crates/core_arch/src/x86/rtm.rs b/crates/core_arch/src/x86/rtm.rs index fa559faf37..ebe3ed80da 100644 --- a/crates/core_arch/src/x86/rtm.rs +++ b/crates/core_arch/src/x86/rtm.rs @@ -32,6 +32,7 @@ pub const _XBEGIN_STARTED: u32 = !0; /// Transaction explicitly aborted with xabort. The parameter passed to xabort is available with /// `_xabort_code(status)`. +#[allow(clippy::identity_op)] pub const _XABORT_EXPLICIT: u32 = 1 << 0; /// Transaction retry is possible.