Skip to content

Commit dbb779d

Browse files
github-actions[bot]ricochet
authored andcommitted
Update to v0.2.4
1 parent 2a01b86 commit dbb779d

File tree

13 files changed

+42
-42
lines changed

13 files changed

+42
-42
lines changed

imports.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<ul>
33
<li>Imports:
44
<ul>
5-
<li>interface <a href="#wasi_io_error_0_2_3"><code>wasi:io/[email protected].3</code></a></li>
6-
<li>interface <a href="#wasi_io_poll_0_2_3"><code>wasi:io/[email protected].3</code></a></li>
7-
<li>interface <a href="#wasi_io_streams_0_2_3"><code>wasi:io/[email protected].3</code></a></li>
8-
<li>interface <a href="#wasi_clocks_wall_clock_0_2_3"><code>wasi:clocks/[email protected].3</code></a></li>
9-
<li>interface <a href="#wasi_filesystem_types_0_2_3"><code>wasi:filesystem/[email protected].3</code></a></li>
10-
<li>interface <a href="#wasi_filesystem_preopens_0_2_3"><code>wasi:filesystem/[email protected].3</code></a></li>
5+
<li>interface <a href="#wasi_io_error_0_2_4"><code>wasi:io/[email protected].4</code></a></li>
6+
<li>interface <a href="#wasi_io_poll_0_2_4"><code>wasi:io/[email protected].4</code></a></li>
7+
<li>interface <a href="#wasi_io_streams_0_2_4"><code>wasi:io/[email protected].4</code></a></li>
8+
<li>interface <a href="#wasi_clocks_wall_clock_0_2_4"><code>wasi:clocks/[email protected].4</code></a></li>
9+
<li>interface <a href="#wasi_filesystem_types_0_2_4"><code>wasi:filesystem/[email protected].4</code></a></li>
10+
<li>interface <a href="#wasi_filesystem_preopens_0_2_4"><code>wasi:filesystem/[email protected].4</code></a></li>
1111
</ul>
1212
</li>
1313
</ul>
14-
<h2><a id="wasi_io_error_0_2_3"></a>Import interface wasi:io/[email protected].3</h2>
14+
<h2><a id="wasi_io_error_0_2_4"></a>Import interface wasi:io/[email protected].4</h2>
1515
<hr />
1616
<h3>Types</h3>
1717
<h4><a id="error"></a><code>resource error</code></h4>
@@ -44,7 +44,7 @@ hazard.</p>
4444
<ul>
4545
<li><a id="method_error_to_debug_string.0"></a> <code>string</code></li>
4646
</ul>
47-
<h2><a id="wasi_io_poll_0_2_3"></a>Import interface wasi:io/[email protected].3</h2>
47+
<h2><a id="wasi_io_poll_0_2_4"></a>Import interface wasi:io/[email protected].4</h2>
4848
<p>A poll API intended to let users wait for I/O events on multiple handles
4949
at once.</p>
5050
<hr />
@@ -97,7 +97,7 @@ being ready for I/O.</p>
9797
<ul>
9898
<li><a id="poll.0"></a> list&lt;<code>u32</code>&gt;</li>
9999
</ul>
100-
<h2><a id="wasi_io_streams_0_2_3"></a>Import interface wasi:io/[email protected].3</h2>
100+
<h2><a id="wasi_io_streams_0_2_4"></a>Import interface wasi:io/[email protected].4</h2>
101101
<p>WASI I/O is an I/O abstraction API which is currently focused on providing
102102
stream types.</p>
103103
<p>In the future, the component model is expected to add built-in stream types;
@@ -427,7 +427,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
427427
<ul>
428428
<li><a id="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>
429429
</ul>
430-
<h2><a id="wasi_clocks_wall_clock_0_2_3"></a>Import interface wasi:clocks/[email protected].3</h2>
430+
<h2><a id="wasi_clocks_wall_clock_0_2_4"></a>Import interface wasi:clocks/[email protected].4</h2>
431431
<p>WASI Wall Clock is a clock API intended to let users query the current
432432
time. The name &quot;wall&quot; makes an analogy to a &quot;clock on the wall&quot;, which
433433
is not necessarily monotonic as it may be reset.</p>
@@ -468,7 +468,7 @@ also known as <a href="https://en.wikipedia.org/wiki/Unix_time">Unix Time</a>.</
468468
<ul>
469469
<li><a id="resolution.0"></a> <a href="#datetime"><a href="#datetime"><code>datetime</code></a></a></li>
470470
</ul>
471-
<h2><a id="wasi_filesystem_types_0_2_3"></a>Import interface wasi:filesystem/[email protected].3</h2>
471+
<h2><a id="wasi_filesystem_types_0_2_4"></a>Import interface wasi:filesystem/[email protected].4</h2>
472472
<p>WASI filesystem is a filesystem API primarily intended to let users run WASI
473473
programs that access their files on their existing filesystems, without
474474
significant overhead.</p>
@@ -1346,7 +1346,7 @@ errors are filesystem-related errors.</p>
13461346
<ul>
13471347
<li><a id="filesystem_error_code.0"></a> option&lt;<a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;</li>
13481348
</ul>
1349-
<h2><a id="wasi_filesystem_preopens_0_2_3"></a>Import interface wasi:filesystem/[email protected].3</h2>
1349+
<h2><a id="wasi_filesystem_preopens_0_2_4"></a>Import interface wasi:filesystem/[email protected].4</h2>
13501350
<hr />
13511351
<h3>Types</h3>
13521352
<h4><a id="descriptor"></a><code>type descriptor</code></h4>

wit/deps.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[clocks]
22
url = "https://github.com/WebAssembly/wasi-clocks/archive/main.tar.gz"
3-
sha256 = "93a701968a7dd3c5d69031bc0601681c468972fdf7e28a93bb6150a67d6ebe8b"
4-
sha512 = "98fca567c7a01887b0fb38981f1772169b6ea8de475b546508f8b86738d84e44ba95cae81def40ac34e8809f5f60e85224077ab8cb6d6d5d6296acc1df73c159"
3+
sha256 = "fc36267c5098ad9ac6455396b27c8ef206ca23cae74f40bd44c57be68e7849b6"
4+
sha512 = "0deed3d3a86f284adda7991cd24c0c4aab806ba2e0cb111da80d7f99c05f10793a602b28451407cad58ab762997f60c0f6d173e919e4a0988773b455d3a410d3"
55

66
[io]
77
url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
8-
sha256 = "1cccbfe4122686ea57a25cd368e8cdfc408cbcad089f47fb6685b6f92e96f050"
9-
sha512 = "7a95f964c13da52611141acd89bc8876226497f128e99dd176a4270c5b5efbd8cc847b5fbd1a91258d028c646db99e0424d72590cf1caf20f9f3a3343fad5017"
8+
sha256 = "770a73d479cda8e4c4064dd4006d2654ebcc358952079d74e41af27cf26bddbf"
9+
sha512 = "b790f9750ac6782d9aaaa379845600b66dbde14ecee42f159c29796447eb8e61ee61f3b306e92622993b5e25298834b6ff62d7d9a04f8f18c05f07eda8f47ae0"

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.3;
1+
package wasi:clocks@0.2.4;
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.3.{pollable};
13+
use wasi:io/poll@0.2.4.{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/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.3;
1+
package wasi:clocks@0.2.4;
22

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

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.3;
1+
package wasi:clocks@0.2.4;
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.3;
1+
package wasi:clocks@0.2.4;
22

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

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.3;
1+
package wasi:io@0.2.4;
22

33
@since(version = 0.2.0)
44
interface error {

wit/deps/io/poll.wit

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.3;
1+
package wasi:io@0.2.4;
22

33
/// A poll API intended to let users wait for I/O events on multiple handles
44
/// at once.
@@ -8,19 +8,19 @@ interface poll {
88
@since(version = 0.2.0)
99
resource pollable {
1010

11-
/// Return the readiness of a pollable. This function never blocks.
12-
///
13-
/// Returns `true` when the pollable is ready, and `false` otherwise.
14-
@since(version = 0.2.0)
15-
ready: func() -> bool;
11+
/// Return the readiness of a pollable. This function never blocks.
12+
///
13+
/// Returns `true` when the pollable is ready, and `false` otherwise.
14+
@since(version = 0.2.0)
15+
ready: func() -> bool;
1616

17-
/// `block` returns immediately if the pollable is ready, and otherwise
18-
/// blocks until ready.
19-
///
20-
/// This function is equivalent to calling `poll.poll` on a list
21-
/// containing only this pollable.
22-
@since(version = 0.2.0)
23-
block: func();
17+
/// `block` returns immediately if the pollable is ready, and otherwise
18+
/// blocks until ready.
19+
///
20+
/// This function is equivalent to calling `poll.poll` on a list
21+
/// containing only this pollable.
22+
@since(version = 0.2.0)
23+
block: func();
2424
}
2525

2626
/// Poll for completion on a set of pollables.

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.3;
1+
package wasi:io@0.2.4;
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.3;
1+
package wasi:io@0.2.4;
22

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

wit/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.3;
1+
package wasi:filesystem@0.2.4;
22

33
@since(version = 0.2.0)
44
interface preopens {

wit/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.3;
1+
package wasi:filesystem@0.2.4;
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.3.{input-stream, output-stream, error};
29+
use wasi:io/streams@0.2.4.{input-stream, output-stream, error};
3030
@since(version = 0.2.0)
31-
use wasi:clocks/wall-clock@0.2.3.{datetime};
31+
use wasi:clocks/wall-clock@0.2.4.{datetime};
3232

3333
/// File size or length of a region within a file.
3434
@since(version = 0.2.0)

wit/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.3;
1+
package wasi:filesystem@0.2.4;
22

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

0 commit comments

Comments
 (0)