fix export

master
dignifiedquire 5 years ago
parent 1c1c168e1b
commit 06a2fb8c4f

@ -64,6 +64,7 @@ mod timer {
pub type Timer = smol::Timer; pub type Timer = smol::Timer;
} }
#[cfg(any(feature = "unstable", feature = "default"))]
pub(crate) fn timer_after(dur: std::time::Duration) -> timer::Timer { pub(crate) fn timer_after(dur: std::time::Duration) -> timer::Timer {
#[cfg(not(target_os = "unknown"))] #[cfg(not(target_os = "unknown"))]
once_cell::sync::Lazy::force(&crate::rt::RUNTIME); once_cell::sync::Lazy::force(&crate::rt::RUNTIME);

Loading…
Cancel
Save