Wasm2wat gives this: (import "env" "now" (func $now (type $t3))) The function that triggers the horror is this one: let _ = wasm_timer::Delay::new(std::time::Duration::from_secs(2)).await