Closed sunfishcode closed 2 years ago
In Preview2 commands, we need a way for commands to obtain handles for wall-clock and monotonic clocks. See also bytecodealliance/wasi-libc#12.
This PR adds a new wit file, wasi-default-clocks.wit.md, which defines value exports providing these clock handle values.
In Preview2 commands, we need a way for commands to obtain handles for wall-clock and monotonic clocks. See also bytecodealliance/wasi-libc#12.
This PR adds a new wit file, wasi-default-clocks.wit.md, which defines value exports providing these clock handle values.