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: Jan 09 2026 at 13:15 UTC