WebAssembly / WebAssembly/WASI

Document top-level wasi functions for wasi-clocks

Open
#700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-clocks S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

I expected this proposal to include wasi::clock_time_get as used by rust wasi/time.rs. A little bit of searching and I found the source for this here: https://github.com/bytecodealliance/preview2-prototyping/blob/7356e57599c869772dd12ca59879d0cba826a320/src/lib.rs#L307-L331

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced Rust usage in library/std/src/sys/wasi/time.rs and the top-level function definitions in src/lib.rs of the preview2-prototyping repository. Identify the wasi-clocks functions exposed at the top level and document them in the relevant WASI material; done means the functions are discoverable and their purpose is described.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.