Skip to content

Commit

Permalink
Merge pull request #416 from waywardmonkeys/warning-when-hardware-loc…
Browse files Browse the repository at this point in the history
…k-elision
  • Loading branch information
Amanieu committed Oct 24, 2023
2 parents 6ce132e + c950c98 commit c35fcd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/elision.rs
Expand Up @@ -5,11 +5,6 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#[cfg(all(
feature = "hardware-lock-elision",
any(target_arch = "x86", target_arch = "x86_64")
))]
use std::arch::asm;
use std::sync::atomic::AtomicUsize;

// Extension trait to add lock elision primitives to atomic types
Expand Down

0 comments on commit c35fcd0

Please sign in to comment.