Correct std-shims feature flagging

This commit is contained in:
Luke Parker
2025-09-15 21:59:58 -04:00
parent 1ff2934927
commit a82ccadbb0
7 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
pub use core::sync::atomic;
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use extern_alloc::sync::{Arc, Weak};
#[cfg(feature = "std")]
pub use std::sync::{Arc, Weak};
mod mutex_shim {
#[cfg(not(feature = "std"))]