diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-05-20 17:48:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-20 17:48:15 -0600 |
| commit | 950e4266e61def05d14f7729094afa2e7ad00eba (patch) | |
| tree | 340667c4d10c186a027385b145fc2c152e20db36 /src/libcore | |
| parent | 2dc15593602898d4799e6a213d3a163cac1513c7 (diff) | |
| parent | e4f9db7b8f36edcc5bc3d9d0e18d7fb0f6b55bc1 (diff) | |
| download | rust-950e4266e61def05d14f7729094afa2e7ad00eba.tar.gz rust-950e4266e61def05d14f7729094afa2e7ad00eba.zip | |
Rollup merge of #42098 - japaric:gh42097, r=Mark-Simulacrum
core: fix unused_macro warning when compiling the crate for a target with max-atomic-width = 0 fixes #42097
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/sync/atomic.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index c13fd558354..d647a94a1ef 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -918,6 +918,7 @@ impl<T> AtomicPtr<T> { } } +#[cfg(target_has_atomic = "ptr")] macro_rules! atomic_int { ($stable:meta, $stable_cxchg:meta, |
