Skip to content

Commit 8410730

Browse files
committed
Remove feature flag llvm_asm
1 parent d41db29 commit 8410730

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/htm/ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ mod lever_hwtxn_test {
9393

9494
pub fn swallow<T>(d: T) -> T {
9595
unsafe {
96-
llvm_asm!("" : : "r"(&d));
96+
core::arch::asm!("" : : "r"(&d));
9797
d
9898
}
9999
}

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Behind the feature gates
22
#![cfg_attr(feature = "hw", feature(portable_simd))]
3-
#![cfg_attr(feature = "hw", feature(llvm_asm))]
43
#![cfg_attr(feature = "hw", feature(stdarch_x86_rtm))]
54
// FIXME: Baking still
65
#![allow(dead_code)]

0 commit comments

Comments
 (0)