bytecodealliance / bytecodealliance/wasmtime

Should Duration be re-exported to allow for impl of HostWallClock?

Open
#8,262 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.