Skip to main content

virtual_sleep

Function virtual_sleep 

Source
pub fn virtual_sleep(duration: Duration) -> impl Future<Output = ()>
Expand description

Off the sim path the lexical test rewriter’s virtual_* targets alias the REAL primitives, so a rewritten test body behaves identically to its unrewritten form (the rewrite is a no-op when flash is off). The #[kithara::test] macro emits these into EVERY test body, so they must resolve in the off-feature + wasm configs.