Skip to content

Commit 1ed22f7

Browse files
committed
Fix remaining issues
1 parent 63e098b commit 1ed22f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/core_arch/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
abi_unadjusted,
3333
adx_target_feature,
3434
rtm_target_feature,
35+
f16c_target_feature,
3536
external_doc
3637
)]
3738
#![cfg_attr(test, feature(test, abi_vectorcall, untagged_unions))]

crates/core_arch/src/x86/rtm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub const _XBEGIN_STARTED: u32 = !0;
3232

3333
/// Transaction explicitly aborted with xabort. The parameter passed to xabort is available with
3434
/// `_xabort_code(status)`.
35+
#[allow(clippy::identity_op)]
3536
pub const _XABORT_EXPLICIT: u32 = 1 << 0;
3637

3738
/// Transaction retry is possible.

0 commit comments

Comments
 (0)