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
Duration
be exported from the wasi library to allow implementation of this trait?
alexcrichton commented on issue #8262:
I believe
cap_std::time::Duration
is itself a reexport ofstd::time::Duration
, although adding a reexport towasmtime-wasi
also seems ok.
Last updated: Dec 23 2024 at 12:05 UTC