mirror of
https://github.com/async-rs/async-std.git
synced 2025-06-19 20:51:33 +00:00
fix
This commit is contained in:
parent
8943ba82dd
commit
8389041414
1 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,10 @@ mod timer {
|
||||||
pub type Timer = smol::Timer;
|
pub type Timer = smol::Timer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(all(target_arch = "wasm32", feature = "default"), feature = "unstable"))]
|
#[cfg(any(
|
||||||
|
all(target_arch = "wasm32", feature = "default"),
|
||||||
|
all(feature = "unstable", not(feature = "default"))
|
||||||
|
))]
|
||||||
mod timer {
|
mod timer {
|
||||||
use std::pin::Pin;
|
use std::pin::Pin;
|
||||||
use std::task::Poll;
|
use std::task::Poll;
|
||||||
|
|
Loading…
Reference in a new issue