Skip to content

Commit 2c64dc9

Browse files
authored
Merge pull request #98 from WebAssembly/pch/preview2
Release Preview 2: set package version to 0.2.0
2 parents 9f6be4a + f7e7fda commit 2c64dc9

26 files changed

+80
-82
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@ jobs:
1616
curl -Lo 'wit-deps' https://github.com/bytecodealliance/wit-deps/releases/download/v0.3.2/wit-deps-x86_64-unknown-linux-musl
1717
chmod +x ./wit-deps
1818
./wit-deps lock --check
19-
- uses: WebAssembly/wit-abi-up-to-date@v16
20-
with:
21-
wit-bindgen: '0.15.0'
19+
- uses: WebAssembly/wit-abi-up-to-date@v17

proxy.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ outgoing HTTP requests.</p>
66
<ul>
77
<li>Imports:
88
<ul>
9-
<li>interface <a href="#wasi:random_random_0.2.0_rc_2023_11_10"><code>wasi:random/[email protected]-rc-2023-11-10</code></a></li>
10-
<li>interface <a href="#wasi:io_error_0.2.0_rc_2023_11_10"><code>wasi:io/[email protected]-rc-2023-11-10</code></a></li>
11-
<li>interface <a href="#wasi:io_poll_0.2.0_rc_2023_11_10"><code>wasi:io/[email protected]-rc-2023-11-10</code></a></li>
12-
<li>interface <a href="#wasi:io_streams_0.2.0_rc_2023_11_10"><code>wasi:io/[email protected]-rc-2023-11-10</code></a></li>
13-
<li>interface <a href="#wasi:cli_stdout_0.2.0_rc_2024_01_16"><code>wasi:cli/[email protected]-rc-2024-01-16</code></a></li>
14-
<li>interface <a href="#wasi:cli_stderr_0.2.0_rc_2024_01_16"><code>wasi:cli/[email protected]-rc-2024-01-16</code></a></li>
15-
<li>interface <a href="#wasi:cli_stdin_0.2.0_rc_2024_01_16"><code>wasi:cli/[email protected]-rc-2024-01-16</code></a></li>
16-
<li>interface <a href="#wasi:clocks_monotonic_clock_0.2.0_rc_2023_11_10"><code>wasi:clocks/[email protected]-rc-2023-11-10</code></a></li>
17-
<li>interface <a href="#wasi:http_types_0.2.0_rc_2024_01_16"><code>wasi:http/[email protected]-rc-2024-01-16</code></a></li>
18-
<li>interface <a href="#wasi:http_outgoing_handler_0.2.0_rc_2024_01_16"><code>wasi:http/[email protected]-rc-2024-01-16</code></a></li>
19-
<li>interface <a href="#wasi:clocks_wall_clock_0.2.0_rc_2023_11_10"><code>wasi:clocks/[email protected]-rc-2023-11-10</code></a></li>
9+
<li>interface <a href="#wasi:random_random_0.2.0"><code>wasi:random/[email protected]</code></a></li>
10+
<li>interface <a href="#wasi:io_error_0.2.0"><code>wasi:io/[email protected]</code></a></li>
11+
<li>interface <a href="#wasi:io_poll_0.2.0"><code>wasi:io/[email protected]</code></a></li>
12+
<li>interface <a href="#wasi:io_streams_0.2.0"><code>wasi:io/[email protected]</code></a></li>
13+
<li>interface <a href="#wasi:cli_stdout_0.2.0"><code>wasi:cli/[email protected]</code></a></li>
14+
<li>interface <a href="#wasi:cli_stderr_0.2.0"><code>wasi:cli/[email protected]</code></a></li>
15+
<li>interface <a href="#wasi:cli_stdin_0.2.0"><code>wasi:cli/[email protected]</code></a></li>
16+
<li>interface <a href="#wasi:clocks_monotonic_clock_0.2.0"><code>wasi:clocks/[email protected]</code></a></li>
17+
<li>interface <a href="#wasi:http_types_0.2.0"><code>wasi:http/[email protected]</code></a></li>
18+
<li>interface <a href="#wasi:http_outgoing_handler_0.2.0"><code>wasi:http/[email protected]</code></a></li>
19+
<li>interface <a href="#wasi:clocks_wall_clock_0.2.0"><code>wasi:clocks/[email protected]</code></a></li>
2020
</ul>
2121
</li>
2222
<li>Exports:
2323
<ul>
24-
<li>interface <a href="#wasi:http_incoming_handler_0.2.0_rc_2024_01_16"><code>wasi:http/[email protected]-rc-2024-01-16</code></a></li>
24+
<li>interface <a href="#wasi:http_incoming_handler_0.2.0"><code>wasi:http/[email protected]</code></a></li>
2525
</ul>
2626
</li>
2727
</ul>
28-
<h2><a name="wasi:random_random_0.2.0_rc_2023_11_10">Import interface wasi:random/[email protected]-rc-2023-11-10</a></h2>
28+
<h2><a name="wasi:random_random_0.2.0">Import interface wasi:random/[email protected]</a></h2>
2929
<p>WASI Random is a random data API.</p>
3030
<p>It is intended to be portable at least between Unix-family platforms and
3131
Windows.</p>
@@ -58,7 +58,7 @@ represented as a <code>u64</code>.</p>
5858
<ul>
5959
<li><a name="get_random_u64.0"></a> <code>u64</code></li>
6060
</ul>
61-
<h2><a name="wasi:io_error_0.2.0_rc_2023_11_10">Import interface wasi:io/[email protected]-rc-2023-11-10</a></h2>
61+
<h2><a name="wasi:io_error_0.2.0">Import interface wasi:io/[email protected]</a></h2>
6262
<hr />
6363
<h3>Types</h3>
6464
<h4><a name="error"><code>resource error</code></a></h4>
@@ -93,7 +93,7 @@ hazard.</p>
9393
<ul>
9494
<li><a name="method_error.to_debug_string.0"></a> <code>string</code></li>
9595
</ul>
96-
<h2><a name="wasi:io_poll_0.2.0_rc_2023_11_10">Import interface wasi:io/[email protected]-rc-2023-11-10</a></h2>
96+
<h2><a name="wasi:io_poll_0.2.0">Import interface wasi:io/[email protected]</a></h2>
9797
<p>A poll API intended to let users wait for I/O events on multiple handles
9898
at once.</p>
9999
<hr />
@@ -143,7 +143,7 @@ being reaedy for I/O.</p>
143143
<ul>
144144
<li><a name="poll.0"></a> list&lt;<code>u32</code>&gt;</li>
145145
</ul>
146-
<h2><a name="wasi:io_streams_0.2.0_rc_2023_11_10">Import interface wasi:io/[email protected]-rc-2023-11-10</a></h2>
146+
<h2><a name="wasi:io_streams_0.2.0">Import interface wasi:io/[email protected]</a></h2>
147147
<p>WASI I/O is an I/O abstraction API which is currently focused on providing
148148
stream types.</p>
149149
<p>In the future, the component model is expected to add built-in stream types;
@@ -468,7 +468,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
468468
<ul>
469469
<li><a name="method_output_stream.blocking_splice.0"></a> result&lt;<code>u64</code>, <a href="#stream_error"><a href="#stream_error"><code>stream-error</code></a></a>&gt;</li>
470470
</ul>
471-
<h2><a name="wasi:cli_stdout_0.2.0_rc_2024_01_16">Import interface wasi:cli/[email protected]-rc-2024-01-16</a></h2>
471+
<h2><a name="wasi:cli_stdout_0.2.0">Import interface wasi:cli/[email protected]</a></h2>
472472
<hr />
473473
<h3>Types</h3>
474474
<h4><a name="output_stream"><code>type output-stream</code></a></h4>
@@ -481,7 +481,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
481481
<ul>
482482
<li><a name="get_stdout.0"></a> own&lt;<a href="#output_stream"><a href="#output_stream"><code>output-stream</code></a></a>&gt;</li>
483483
</ul>
484-
<h2><a name="wasi:cli_stderr_0.2.0_rc_2024_01_16">Import interface wasi:cli/[email protected]-rc-2024-01-16</a></h2>
484+
<h2><a name="wasi:cli_stderr_0.2.0">Import interface wasi:cli/[email protected]</a></h2>
485485
<hr />
486486
<h3>Types</h3>
487487
<h4><a name="output_stream"><code>type output-stream</code></a></h4>
@@ -494,7 +494,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
494494
<ul>
495495
<li><a name="get_stderr.0"></a> own&lt;<a href="#output_stream"><a href="#output_stream"><code>output-stream</code></a></a>&gt;</li>
496496
</ul>
497-
<h2><a name="wasi:cli_stdin_0.2.0_rc_2024_01_16">Import interface wasi:cli/[email protected]-rc-2024-01-16</a></h2>
497+
<h2><a name="wasi:cli_stdin_0.2.0">Import interface wasi:cli/[email protected]</a></h2>
498498
<hr />
499499
<h3>Types</h3>
500500
<h4><a name="input_stream"><code>type input-stream</code></a></h4>
@@ -507,7 +507,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
507507
<ul>
508508
<li><a name="get_stdin.0"></a> own&lt;<a href="#input_stream"><a href="#input_stream"><code>input-stream</code></a></a>&gt;</li>
509509
</ul>
510-
<h2><a name="wasi:clocks_monotonic_clock_0.2.0_rc_2023_11_10">Import interface wasi:clocks/[email protected]-rc-2023-11-10</a></h2>
510+
<h2><a name="wasi:clocks_monotonic_clock_0.2.0">Import interface wasi:clocks/[email protected]</a></h2>
511511
<p>WASI Monotonic Clock is a clock API intended to let users measure elapsed
512512
time.</p>
513513
<p>It is intended to be portable at least between Unix-family platforms and
@@ -568,7 +568,7 @@ occured.</p>
568568
<ul>
569569
<li><a name="subscribe_duration.0"></a> own&lt;<a href="#pollable"><a href="#pollable"><code>pollable</code></a></a>&gt;</li>
570570
</ul>
571-
<h2><a name="wasi:http_types_0.2.0_rc_2024_01_16">Import interface wasi:http/[email protected]-rc-2024-01-16</a></h2>
571+
<h2><a name="wasi:http_types_0.2.0">Import interface wasi:http/[email protected]</a></h2>
572572
<p>This interface defines all of the types and methods for implementing
573573
HTTP Requests and Responses, both incoming and outgoing, as well as
574574
their headers, trailers, and bodies.</p>
@@ -1454,7 +1454,7 @@ but those will be reported by the <a href="#incoming_body"><code>incoming-body</
14541454
<ul>
14551455
<li><a name="method_future_incoming_response.get.0"></a> option&lt;result&lt;result&lt;own&lt;<a href="#incoming_response"><a href="#incoming_response"><code>incoming-response</code></a></a>&gt;, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;&gt;&gt;</li>
14561456
</ul>
1457-
<h2><a name="wasi:http_outgoing_handler_0.2.0_rc_2024_01_16">Import interface wasi:http/[email protected]-rc-2024-01-16</a></h2>
1457+
<h2><a name="wasi:http_outgoing_handler_0.2.0">Import interface wasi:http/[email protected]</a></h2>
14581458
<p>This interface defines a handler of outgoing HTTP Requests. It should be
14591459
imported by components which wish to make HTTP Requests.</p>
14601460
<hr />
@@ -1491,7 +1491,7 @@ through the <a href="#future_incoming_response"><code>future-incoming-response</
14911491
<ul>
14921492
<li><a name="handle.0"></a> result&lt;own&lt;<a href="#future_incoming_response"><a href="#future_incoming_response"><code>future-incoming-response</code></a></a>&gt;, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;</li>
14931493
</ul>
1494-
<h2><a name="wasi:clocks_wall_clock_0.2.0_rc_2023_11_10">Import interface wasi:clocks/[email protected]-rc-2023-11-10</a></h2>
1494+
<h2><a name="wasi:clocks_wall_clock_0.2.0">Import interface wasi:clocks/[email protected]</a></h2>
14951495
<p>WASI Wall Clock is a clock API intended to let users query the current
14961496
time. The name &quot;wall&quot; makes an analogy to a &quot;clock on the wall&quot;, which
14971497
is not necessarily monotonic as it may be reset.</p>
@@ -1532,7 +1532,7 @@ also known as <a href="https://en.wikipedia.org/wiki/Unix_time">Unix Time</a>.</
15321532
<ul>
15331533
<li><a name="resolution.0"></a> <a href="#datetime"><a href="#datetime"><code>datetime</code></a></a></li>
15341534
</ul>
1535-
<h2><a name="wasi:http_incoming_handler_0.2.0_rc_2024_01_16">Export interface wasi:http/[email protected]-rc-2024-01-16</a></h2>
1535+
<h2><a name="wasi:http_incoming_handler_0.2.0">Export interface wasi:http/[email protected]</a></h2>
15361536
<hr />
15371537
<h3>Types</h3>
15381538
<h4><a name="incoming_request"><code>type incoming-request</code></a></h4>

wit/deps.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
[cli]
22
url = "https://github.com/WebAssembly/wasi-cli/archive/main.tar.gz"
3-
sha256 = "754f9d1de112e106cc7131b79b1efd29340f9d6191699f224835fd41521ba386"
4-
sha512 = "908a67492c05f752b0152646e5acdccdde89d8b303db254bf462d2e6714c420d80ebebc46ab75b8953c060a06ea06d99d55b523f6aa09e2f4f16d5e63649f0ea"
3+
sha256 = "285865a31d777181b075f39e92bcfe59c89cd6bacce660be1b9a627646956258"
4+
sha512 = "da2622210a9e3eea82b99f1a5b8a44ce5443d009cb943f7bca0bf9cf4360829b289913d7ee727c011f0f72994ea7dc8e661ebcc0a6b34b587297d80cd9b3f7e8"
55

66
[clocks]
77
url = "https://github.com/WebAssembly/wasi-clocks/archive/main.tar.gz"
8-
sha256 = "89da8eca4cd195516574c89c5b3c24a7b5af3ff2565c16753d20d3bdbc5fc60f"
9-
sha512 = "244079b3f592d58478a97adbd0bee8d49ae9dd1a3e435651ee40997b50da9fe62cfaba7e3ec7f7406d7d0288d278a43a3a0bc5150226ba40ce0f8ac6d33f7ddb"
8+
sha256 = "468b4d12892fe926b8eb5d398dbf579d566c93231fa44f415440572c695b7613"
9+
sha512 = "e6b53a07221f1413953c9797c68f08b815fdaebf66419bbc1ea3e8b7dece73731062693634731f311a03957b268cf9cc509c518bd15e513c318aa04a8459b93a"
1010

1111
[filesystem]
1212
url = "https://github.com/WebAssembly/wasi-filesystem/archive/main.tar.gz"
13-
sha256 = "05952bbc98895aa3aeda6c765a3e521016de59f993f3b60394c724640935c09c"
14-
sha512 = "2c242489801a75466986fe014d730fb3aa7b5c6e56a230c8735e6672711b58bcbe92ba78a341b78fc3ac69339e55d3859d8bb14410230f0371ee30dbd83add64"
13+
sha256 = "498c465cfd04587db40f970fff2185daa597d074c20b68a8bcbae558f261499b"
14+
sha512 = "ead452f9b7bfb88593a502ec00d76d4228003d51c40fd0408aebc32d35c94673551b00230d730873361567cc209ec218c41fb4e95bad194268592c49e7964347"
1515

1616
[io]
1717
url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
18-
sha256 = "7a3c644dfd434f77fdf3f3d3b3caaca9538a0ade785167a3cce0321609f9d4e1"
19-
sha512 = "2888f12b91359d630b4270f60e3c78855d9b305274ebf8a5decaef8698a74cc85c426823dc708b393f461b85ad991711d7400c2b2a24795001db5aee3ae19c70"
18+
sha256 = "7210e5653539a15478f894d4da24cc69d61924cbcba21d2804d69314a88e5a4c"
19+
sha512 = "49184a1b0945a889abd52d25271172ed3dc2db6968fcdddb1bab7ee0081f4a3eeee0977ad2291126a37631c0d86eeea75d822fa8af224c422134500bf9f0f2bb"
2020

2121
[random]
2222
url = "https://github.com/WebAssembly/wasi-random/archive/main.tar.gz"
23-
sha256 = "11afcbff9920f5f1f72b6764d01e59a5faa2c671f0c59f0c9b405778f3708745"
24-
sha512 = "cc4fa3d178559a89d9d6a376e3359b892158d1e73317c5db1f797ebc6b0b57abf2422797648d5b2b494c50cf9360720bc451cc27e15def7d278ba875805ccbf5"
23+
sha256 = "7371d03c037d924caba2587fb2e7c5773a0d3c5fcecbf7971e0e0ba57973c53d"
24+
sha512 = "964c4e8925a53078e4d94ba907b54f89a0b7e154f46823a505391471466c17f53c8692682e5c85771712acd88b348686173fc07c53a3cfe3d301b8cd8ddd0de4"
2525

2626
[sockets]
2727
url = "https://github.com/WebAssembly/wasi-sockets/archive/main.tar.gz"
28-
sha256 = "9a3816bfa5a8b0673e5651024d8f9a1540f169f6d70f2bde6ee0e8240cd177ee"
29-
sha512 = "bfcce89127510e16e9e7d7ac058ba3108953067e2d53f05cb1020dadf552738753b7fc9d10797236f2ced089063de7ac853fd9526079758fab1419d9b58a5212"
28+
sha256 = "622bd28bbeb43736375dc02bd003fd3a016ff8ee91e14bab488325c6b38bf966"
29+
sha512 = "5a63c1f36de0c4548e1d2297bdbededb28721cbad94ef7825c469eae29d7451c97e00b4c1d6730ee1ec0c4a5aac922961a2795762d4a0c3bb54e30a391a84bae"

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:[email protected];
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:[email protected];
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 {

wit/deps/io/poll.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
/// A poll API intended to let users wait for I/O events on multiple handles
44
/// at once.

wit/deps/io/streams.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
/// WASI I/O is an I/O abstraction API which is currently focused on providing
44
/// stream types.

wit/deps/io/world.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
world imports {
44
import streams;

wit/deps/random/insecure-seed.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.0-rc-2023-11-10;
1+
package wasi:random@0.2.0;
22
/// The insecure-seed interface for seeding hash-map DoS resistance.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wit/deps/random/insecure.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.0-rc-2023-11-10;
1+
package wasi:random@0.2.0;
22
/// The insecure interface for insecure pseudo-random numbers.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wit/deps/random/random.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.0-rc-2023-11-10;
1+
package wasi:random@0.2.0;
22
/// WASI Random is a random data API.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wit/deps/random/world.wit

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

33
world imports {
44
import random;

wit/deps/sockets/ip-name-lookup.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
interface ip-name-lookup {
3-
use wasi:io/poll@0.2.0-rc-2023-11-10.{pollable};
3+
use wasi:io/poll@0.2.0.{pollable};
44
use network.{network, error-code, ip-address};
55

66

wit/deps/sockets/tcp.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
interface tcp {
3-
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream, output-stream};
4-
use wasi:io/poll@0.2.0-rc-2023-11-10.{pollable};
5-
use wasi:clocks/monotonic-clock@0.2.0-rc-2023-11-10.{duration};
3+
use wasi:io/streams@0.2.0.{input-stream, output-stream};
4+
use wasi:io/poll@0.2.0.{pollable};
5+
use wasi:clocks/monotonic-clock@0.2.0.{duration};
66
use network.{network, error-code, ip-socket-address, ip-address-family};
77

88
enum shutdown-type {

wit/deps/sockets/udp.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
interface udp {
3-
use wasi:io/poll@0.2.0-rc-2023-11-10.{pollable};
3+
use wasi:io/poll@0.2.0.{pollable};
44
use network.{network, error-code, ip-socket-address, ip-address-family};
55

66
/// A received datagram.

wit/deps/sockets/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:sockets@0.2.0-rc-2024-01-16;
1+
package wasi:sockets@0.2.0;
22

33
world imports {
44
import instance-network;

0 commit comments

Comments
 (0)