Skip to content

Remove CLOCK_PROCESS_CPUTIME_ID/CLOCK_THREAD_CPUTIME_ID #266

@TerrorJack

Description

@TerrorJack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions