alexanderkjeldaas opened issue #8262:
wasmtime-wasi/src/clocks.rs
use cap_std::time::Duration; pub trait HostWallClock: Send { fn resolution(&self) -> Duration; fn now(&self) -> Duration; }Should
Durationbe exported from the wasi library to allow implementation of this trait?
alexcrichton commented on issue #8262:
I believe
cap_std::time::Durationis itself a reexport ofstd::time::Duration, although adding a reexport towasmtime-wasialso seems ok.
Last updated: Dec 13 2025 at 21:03 UTC