bytecodealliance / bytecodealliance/wasmtime

Preview2: No Easy Way To Set Custom Initial Time For Monotonic Clock

Open
#6,589 3 comments 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

Currently all monotonic clock times are based on the time since the clock was created. See [here](https://github.com/bytecodealliance/wasmtime/blob/9a67597cae9199864ae17b4f3bf18a84863de2b0/crates/wasi/src/preview2/clocks/host.rs#L43). It would be nice to have an easy way to set this initial time to some other arbitrary value.

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.