Skip to content

Commit d93b745

Browse files
authored
import published wasip2 0.2.3 wits (#635)
1 parent 63a46f6 commit d93b745

26 files changed

+55
-55
lines changed

wasip2/cli/command.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:cli@0.2.2;
1+
package wasi:cli@0.2.3;
22

33
@since(version = 0.2.0)
44
world command {

wasip2/cli/imports.wit

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package wasi:cli@0.2.2;
1+
package wasi:cli@0.2.3;
22

33
@since(version = 0.2.0)
44
world imports {
55
@since(version = 0.2.0)
6-
include wasi:clocks/imports@0.2.2;
6+
include wasi:clocks/imports@0.2.3;
77
@since(version = 0.2.0)
8-
include wasi:filesystem/imports@0.2.2;
8+
include wasi:filesystem/imports@0.2.3;
99
@since(version = 0.2.0)
10-
include wasi:sockets/imports@0.2.2;
10+
include wasi:sockets/imports@0.2.3;
1111
@since(version = 0.2.0)
12-
include wasi:random/imports@0.2.2;
12+
include wasi:random/imports@0.2.3;
1313
@since(version = 0.2.0)
14-
include wasi:io/imports@0.2.2;
14+
include wasi:io/imports@0.2.3;
1515

1616
@since(version = 0.2.0)
1717
import environment;

wasip2/cli/stdio.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@since(version = 0.2.0)
22
interface stdin {
33
@since(version = 0.2.0)
4-
use wasi:io/streams@0.2.2.{input-stream};
4+
use wasi:io/streams@0.2.3.{input-stream};
55

66
@since(version = 0.2.0)
77
get-stdin: func() -> input-stream;
@@ -10,7 +10,7 @@ interface stdin {
1010
@since(version = 0.2.0)
1111
interface stdout {
1212
@since(version = 0.2.0)
13-
use wasi:io/streams@0.2.2.{output-stream};
13+
use wasi:io/streams@0.2.3.{output-stream};
1414

1515
@since(version = 0.2.0)
1616
get-stdout: func() -> output-stream;
@@ -19,7 +19,7 @@ interface stdout {
1919
@since(version = 0.2.0)
2020
interface stderr {
2121
@since(version = 0.2.0)
22-
use wasi:io/streams@0.2.2.{output-stream};
22+
use wasi:io/streams@0.2.3.{output-stream};
2323

2424
@since(version = 0.2.0)
2525
get-stderr: func() -> output-stream;

wasip2/clocks/monotonic-clock.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.2;
1+
package wasi:clocks@0.2.3;
22
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed
33
/// time.
44
///
@@ -10,7 +10,7 @@ package wasi:[email protected];
1010
@since(version = 0.2.0)
1111
interface monotonic-clock {
1212
@since(version = 0.2.0)
13-
use wasi:io/poll@0.2.2.{pollable};
13+
use wasi:io/poll@0.2.3.{pollable};
1414

1515
/// An instant in time, in nanoseconds. An instant is relative to an
1616
/// unspecified initial value, and can only be compared to instances from

wasip2/clocks/timezone.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.2;
1+
package wasi:clocks@0.2.3;
22

33
@unstable(feature = clocks-timezone)
44
interface timezone {

wasip2/clocks/wall-clock.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.2;
1+
package wasi:clocks@0.2.3;
22
/// WASI Wall Clock is a clock API intended to let users query the current
33
/// time. The name "wall" makes an analogy to a "clock on the wall", which
44
/// is not necessarily monotonic as it may be reset.

wasip2/clocks/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.2;
1+
package wasi:clocks@0.2.3;
22

33
@since(version = 0.2.0)
44
world imports {

wasip2/filesystem/preopens.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package wasi:filesystem@0.2.2;
1+
package wasi:filesystem@0.2.3;
22

33
@since(version = 0.2.0)
44
interface preopens {
55
@since(version = 0.2.0)
66
use types.{descriptor};
77

8-
/// Return the set of preopened directories, and their path.
8+
/// Return the set of preopened directories, and their paths.
99
@since(version = 0.2.0)
1010
get-directories: func() -> list<tuple<descriptor, string>>;
1111
}

wasip2/filesystem/types.wit

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.2;
1+
package wasi:filesystem@0.2.3;
22
/// WASI filesystem is a filesystem API primarily intended to let users run WASI
33
/// programs that access their files on their existing filesystems, without
44
/// significant overhead.
@@ -26,9 +26,9 @@ package wasi:[email protected];
2626
@since(version = 0.2.0)
2727
interface types {
2828
@since(version = 0.2.0)
29-
use wasi:io/streams@0.2.2.{input-stream, output-stream, error};
29+
use wasi:io/streams@0.2.3.{input-stream, output-stream, error};
3030
@since(version = 0.2.0)
31-
use wasi:clocks/wall-clock@0.2.2.{datetime};
31+
use wasi:clocks/wall-clock@0.2.3.{datetime};
3232

3333
/// File size or length of a region within a file.
3434
@since(version = 0.2.0)
@@ -327,7 +327,7 @@ interface types {
327327
/// May fail with an error-code describing why the file cannot be appended.
328328
///
329329
/// Note: This allows using `write-stream`, which is similar to `write` with
330-
/// `O_APPEND` in in POSIX.
330+
/// `O_APPEND` in POSIX.
331331
@since(version = 0.2.0)
332332
append-via-stream: func() -> result<output-stream, error-code>;
333333

@@ -623,7 +623,7 @@ interface types {
623623
/// replaced. It may also include a secret value chosen by the
624624
/// implementation and not otherwise exposed.
625625
///
626-
/// Implementations are encourated to provide the following properties:
626+
/// Implementations are encouraged to provide the following properties:
627627
///
628628
/// - If the file is not modified or replaced, the computed hash value should
629629
/// usually not change.

wasip2/filesystem/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.2;
1+
package wasi:filesystem@0.2.3;
22

33
@since(version = 0.2.0)
44
world imports {

0 commit comments

Comments
 (0)