Skip to content

Commit 11ee2a8

Browse files
committed
fix
1 parent 3229111 commit 11ee2a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sync/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,8 @@ cfg_unstable! {
192192

193193
pub(crate) mod waker_set;
194194
pub(crate) use waker_set::WakerSet;
195-
pub(crate) mod spin_lock;
196-
pub(crate) use spin_lock::Spinlock;
195+
196+
cfg_default! {
197+
pub(crate) mod spin_lock;
198+
pub(crate) use spin_lock::Spinlock;
199+
}

0 commit comments

Comments
 (0)