Skip to content

Commit

Permalink
Remove feature flag llvm_asm
Browse files Browse the repository at this point in the history
  • Loading branch information
brkydnc committed Mar 9, 2024
1 parent d41db29 commit 8410730
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/htm/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ mod lever_hwtxn_test {

pub fn swallow<T>(d: T) -> T {
unsafe {
llvm_asm!("" : : "r"(&d));
core::arch::asm!("" : : "r"(&d));

Check failure on line 96 in src/htm/ops.rs

View workflow job for this annotation

GitHub Actions / nightly - i686-pc-windows-msvc

expected token: `,`

Check failure on line 96 in src/htm/ops.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-pc-windows-msvc

expected token: `,`
d
}
}
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Behind the feature gates
#![cfg_attr(feature = "hw", feature(portable_simd))]
#![cfg_attr(feature = "hw", feature(llvm_asm))]
#![cfg_attr(feature = "hw", feature(stdarch_x86_rtm))]
// FIXME: Baking still
#![allow(dead_code)]
Expand Down

0 comments on commit 8410730

Please sign in to comment.