Skip to content

Commit

Permalink
Fix build error on old Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 2, 2022
1 parent ef3d834 commit ced36c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ impl<T> AtomicPtr<T> {
}
}

#[cfg(not(miri))]
#[cfg(not(all(miri, portable_atomic_unstable_strict_provenance_atomic_ptr)))]
#[inline]
#[cfg_attr(
portable_atomic_no_cfg_target_has_atomic,
Expand Down

0 comments on commit ced36c5

Please sign in to comment.