Skip to content

Commit

Permalink
fix msrc issue for cfg atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Sep 19, 2023
1 parent a10e3e8 commit 7512ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lifetime_free.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ mod alloc_impls {
unsafe impl<T: LifetimeFree> LifetimeFree for alloc::boxed::Box<T> {}
unsafe impl<T: LifetimeFree> LifetimeFree for alloc::vec::Vec<T> {}

#[cfg(target_has_atomic = "ptr")]
#[rustversion::attr(since(1.60), cfg(target_has_atomic = "ptr"))]
unsafe impl<T: LifetimeFree> LifetimeFree for alloc::sync::Arc<T> {}
}

0 comments on commit 7512ea7

Please sign in to comment.