After WebAssembly/WASI#197 has landed, CLOCK_PROCESS_CPUTIME_ID/CLOCK_THREAD_CPUTIME_ID are invalid in recent versions of wasmtime/uvwasi, even if targetting wasi snapshot 1. This leads to runtime error, so I propose we do something about it:
- Remove these two from
wasi-libc altogether
- Alias to
CLOCK_MONOTONIC to make it sort of work
After WebAssembly/WASI#197 has landed,
CLOCK_PROCESS_CPUTIME_ID/CLOCK_THREAD_CPUTIME_IDare invalid in recent versions ofwasmtime/uvwasi, even if targetting wasi snapshot 1. This leads to runtime error, so I propose we do something about it:wasi-libcaltogetherCLOCK_MONOTONICto make it sort of work