()
| 22 | } |
| 23 | |
| 24 | fn poll() { |
| 25 | let mut events = Vec::new(); |
| 26 | let sub = wasip2::clocks::monotonic_clock::subscribe_duration(0); |
| 27 | for _ in 0..5000 { |
| 28 | events.push(&sub); |
| 29 | } |
| 30 | |
| 31 | wasip2::io::poll::poll(&events); |
| 32 | unreachable!() |
| 33 | } |
| 34 | |
| 35 | fn preopen() -> Descriptor { |
| 36 | let mut dirs = wasip2::filesystem::preopens::get_directories(); |