Skip to content

Commit 1c9c675

Browse files
author
Pat Hickey
committed
copy in wasi-cli, clocks, filesystem, io, random, and sockets at 0.2.0
1 parent 9f6be4a commit 1c9c675

21 files changed

+33
-33
lines changed

wit/deps/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.0-rc-2024-01-16;
1+
package wasi:cli@0.2.0;
22

33
world command {
44
include imports;

wit/deps/cli/imports.wit

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package wasi:cli@0.2.0-rc-2024-01-16;
1+
package wasi:cli@0.2.0;
22

33
world imports {
4-
include wasi:clocks/imports@0.2.0-rc-2023-11-10;
5-
include wasi:filesystem/imports@0.2.0-rc-2023-11-10;
6-
include wasi:sockets/imports@0.2.0-rc-2024-01-16;
7-
include wasi:random/imports@0.2.0-rc-2023-11-10;
8-
include wasi:io/imports@0.2.0-rc-2023-11-10;
4+
include wasi:clocks/imports@0.2.0;
5+
include wasi:filesystem/imports@0.2.0;
6+
include wasi:sockets/imports@0.2.0;
7+
include wasi:random/imports@0.2.0;
8+
include wasi:io/imports@0.2.0;
99

1010
import environment;
1111
import exit;

wit/deps/cli/stdio.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
interface stdin {
2-
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream};
2+
use wasi:io/streams@0.2.0.{input-stream};
33

44
get-stdin: func() -> input-stream;
55
}
66

77
interface stdout {
8-
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream};
8+
use wasi:io/streams@0.2.0.{output-stream};
99

1010
get-stdout: func() -> output-stream;
1111
}
1212

1313
interface stderr {
14-
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream};
14+
use wasi:io/streams@0.2.0.{output-stream};
1515

1616
get-stderr: func() -> output-stream;
1717
}

wit/deps/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.0-rc-2023-11-10;
1+
package wasi:clocks@0.2.0;
22
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed
33
/// time.
44
///
@@ -10,7 +10,7 @@ package wasi:clocks@0.2.0-rc-2023-11-10;
1010
///
1111
/// It is intended for measuring elapsed time.
1212
interface monotonic-clock {
13-
use wasi:io/poll@0.2.0-rc-2023-11-10.{pollable};
13+
use wasi:io/poll@0.2.0.{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

wit/deps/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.0-rc-2023-11-10;
1+
package wasi:clocks@0.2.0;
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.

wit/deps/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.0-rc-2023-11-10;
1+
package wasi:clocks@0.2.0;
22

33
world imports {
44
import monotonic-clock;

wit/deps/filesystem/preopens.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.0-rc-2023-11-10;
1+
package wasi:filesystem@0.2.0;
22

33
interface preopens {
44
use types.{descriptor};

wit/deps/filesystem/types.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.0-rc-2023-11-10;
1+
package wasi:filesystem@0.2.0;
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.
@@ -24,8 +24,8 @@ package wasi:filesystem@0.2.0-rc-2023-11-10;
2424
///
2525
/// [WASI filesystem path resolution]: https://github.com/WebAssembly/wasi-filesystem/blob/main/path-resolution.md
2626
interface types {
27-
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream, output-stream, error};
28-
use wasi:clocks/wall-clock@0.2.0-rc-2023-11-10.{datetime};
27+
use wasi:io/streams@0.2.0.{input-stream, output-stream, error};
28+
use wasi:clocks/wall-clock@0.2.0.{datetime};
2929

3030
/// File size or length of a region within a file.
3131
type filesize = u64;

wit/deps/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.0-rc-2023-11-10;
1+
package wasi:filesystem@0.2.0;
22

33
world imports {
44
import types;

wit/deps/io/error.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.0-rc-2023-11-10;
1+
package wasi:io@0.2.0;
22

33

44
interface error {

0 commit comments

Comments
 (0)