We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
llvm_asm
1 parent d41db29 commit 8410730Copy full SHA for 8410730
src/htm/ops.rs
@@ -93,7 +93,7 @@ mod lever_hwtxn_test {
93
94
pub fn swallow<T>(d: T) -> T {
95
unsafe {
96
- llvm_asm!("" : : "r"(&d));
+ core::arch::asm!("" : : "r"(&d));
97
d
98
}
99
src/lib.rs
@@ -1,6 +1,5 @@
1
// Behind the feature gates
2
#![cfg_attr(feature = "hw", feature(portable_simd))]
3
-#![cfg_attr(feature = "hw", feature(llvm_asm))]
4
#![cfg_attr(feature = "hw", feature(stdarch_x86_rtm))]
5
// FIXME: Baking still
6
#![allow(dead_code)]
0 commit comments