Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

217 B
Raw Blame
use test_programs::wasi::clocks::monotonic_clock::subscribe_duration;

fn main() {
    for _ in 0..1000 {
        std::mem::forget(subscribe_duration(1_000_000));
    }
    panic!("should have trapped before now");
}