Skip to content

Commit 8389041

Browse files
fix
1 parent 8943ba8 commit 8389041

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/utils.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ mod timer {
6464
pub type Timer = smol::Timer;
6565
}
6666

67-
#[cfg(any(all(target_arch = "wasm32", feature = "default"), feature = "unstable"))]
67+
#[cfg(any(
68+
all(target_arch = "wasm32", feature = "default"),
69+
all(feature = "unstable", not(feature = "default"))
70+
))]
6871
mod timer {
6972
use std::pin::Pin;
7073
use std::task::Poll;

0 commit comments

Comments
 (0)