We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 868a8a6 commit 7b57c7cCopy full SHA for 7b57c7c
crates/core_arch/src/x86/rtm.rs
@@ -75,7 +75,8 @@ pub unsafe fn _xend() {
75
/// [Intel's documentation](https://software.intel.com/en-us/cpp-compiler-developer-guide-and-reference-xabort).
76
#[inline]
77
#[target_feature(enable = "rtm")]
78
-#[cfg_attr(test, assert_instr(xabort))]
+#[cfg_attr(test, assert_instr(xabort, imm8 = 0x0))]
79
+#[rustc_args_required_const(0)]
80
pub unsafe fn _xabort(imm8: u32) {
81
macro_rules! call {
82
($imm8:expr) => {
0 commit comments