Skip to content

Commit

Permalink
Merge pull request #309 from Amanieu/stable_asm
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Dec 19, 2021
2 parents 7b2f984 + f2ab305 commit c73dd43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/elision.rs
Expand Up @@ -5,6 +5,8 @@
// 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 = "nightly", 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
1 change: 0 additions & 1 deletion src/lib.rs
Expand Up @@ -11,7 +11,6 @@

#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![cfg_attr(feature = "nightly", feature(asm))]

mod condvar;
mod elision;
Expand Down

0 comments on commit c73dd43

Please sign in to comment.