Skip to content

Commit

Permalink
annotate use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts authored and ricochet committed Jul 3, 2024
1 parent bfadf0b commit 08fd21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions wit/preopens.wit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package wasi:filesystem@0.2.0;

@since(version = 0.2.0)
interface preopens {
@since(version = 0.2.0)
use types.{descriptor};

/// Return the set of preopened directories, and their path.
Expand Down
2 changes: 2 additions & 0 deletions wit/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ package wasi:filesystem@0.2.0;
/// [WASI filesystem path resolution]: https://github.com/WebAssembly/wasi-filesystem/blob/main/path-resolution.md
@since(version = 0.2.0)
interface types {
@since(version = 0.2.0)
use wasi:io/streams@0.2.0.{input-stream, output-stream, error};
@since(version = 0.2.0)
use wasi:clocks/wall-clock@0.2.0.{datetime};

/// File size or length of a region within a file.
Expand Down

0 comments on commit 08fd21f

Please sign in to comment.