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
This commit is contained in:
Mark Simulacrum 2017-05-20 17:48:15 -06:00 committed by GitHub
commit 950e4266e6

View File

@ -918,6 +918,7 @@ pub fn compare_exchange_weak(&self,
}
}
#[cfg(target_has_atomic = "ptr")]
macro_rules! atomic_int {
($stable:meta,
$stable_cxchg:meta,