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:
commit
950e4266e6
@ -918,6 +918,7 @@ pub fn compare_exchange_weak(&self,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_has_atomic = "ptr")]
|
||||
macro_rules! atomic_int {
|
||||
($stable:meta,
|
||||
$stable_cxchg:meta,
|
||||
|
Loading…
Reference in New Issue
Block a user