From 300594fddb8a144f3abbfc6224dd30e040738141 Mon Sep 17 00:00:00 2001 From: Dave Bakker Date: Mon, 16 Jun 2025 14:42:55 +0200 Subject: [PATCH] Update WASI dependency to 0.2.6 --- imports.md | 12 ++++++------ wit/deps.lock | 4 ++-- wit/deps/io/error.wit | 2 +- wit/deps/io/poll.wit | 26 +++++++++++++------------- wit/deps/io/streams.wit | 2 +- wit/deps/io/world.wit | 2 +- wit/types.wit | 6 +++--- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/imports.md b/imports.md index 4fd87aa..7890c53 100644 --- a/imports.md +++ b/imports.md @@ -2,14 +2,14 @@ -

Import interface wasi:io/error@0.2.3

+

Import interface wasi:io/error@0.2.6


Types

resource error

@@ -42,7 +42,7 @@ hazard.

-

Import interface wasi:io/poll@0.2.3

+

Import interface wasi:io/poll@0.2.6

A poll API intended to let users wait for I/O events on multiple handles at once.


@@ -95,7 +95,7 @@ being ready for I/O.

-

Import interface wasi:io/streams@0.2.3

+

Import interface wasi:io/streams@0.2.6

WASI I/O is an I/O abstraction API which is currently focused on providing stream types.

In the future, the component model is expected to add built-in stream types; diff --git a/wit/deps.lock b/wit/deps.lock index 23fb87f..5384c40 100644 --- a/wit/deps.lock +++ b/wit/deps.lock @@ -1,4 +1,4 @@ [io] url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz" -sha256 = "1cccbfe4122686ea57a25cd368e8cdfc408cbcad089f47fb6685b6f92e96f050" -sha512 = "7a95f964c13da52611141acd89bc8876226497f128e99dd176a4270c5b5efbd8cc847b5fbd1a91258d028c646db99e0424d72590cf1caf20f9f3a3343fad5017" +sha256 = "671761f464d312e6c26bcaab5e79fe14ac876b72267867579d5c65e053fe2301" +sha512 = "57e5ed34fa85f35899b324ac7a2473c5fa5cece51d07e6f077637191fadd3c8b6f79324d31a8d497a6ce7b92cfb2a2505ab894337e2c82889f1bdb21f4f24634" diff --git a/wit/deps/io/error.wit b/wit/deps/io/error.wit index 97c6068..784f74a 100644 --- a/wit/deps/io/error.wit +++ b/wit/deps/io/error.wit @@ -1,4 +1,4 @@ -package wasi:io@0.2.3; +package wasi:io@0.2.6; @since(version = 0.2.0) interface error { diff --git a/wit/deps/io/poll.wit b/wit/deps/io/poll.wit index 9bcbe8e..7f71183 100644 --- a/wit/deps/io/poll.wit +++ b/wit/deps/io/poll.wit @@ -1,4 +1,4 @@ -package wasi:io@0.2.3; +package wasi:io@0.2.6; /// A poll API intended to let users wait for I/O events on multiple handles /// at once. @@ -8,19 +8,19 @@ interface poll { @since(version = 0.2.0) resource pollable { - /// Return the readiness of a pollable. This function never blocks. - /// - /// Returns `true` when the pollable is ready, and `false` otherwise. - @since(version = 0.2.0) - ready: func() -> bool; + /// Return the readiness of a pollable. This function never blocks. + /// + /// Returns `true` when the pollable is ready, and `false` otherwise. + @since(version = 0.2.0) + ready: func() -> bool; - /// `block` returns immediately if the pollable is ready, and otherwise - /// blocks until ready. - /// - /// This function is equivalent to calling `poll.poll` on a list - /// containing only this pollable. - @since(version = 0.2.0) - block: func(); + /// `block` returns immediately if the pollable is ready, and otherwise + /// blocks until ready. + /// + /// This function is equivalent to calling `poll.poll` on a list + /// containing only this pollable. + @since(version = 0.2.0) + block: func(); } /// Poll for completion on a set of pollables. diff --git a/wit/deps/io/streams.wit b/wit/deps/io/streams.wit index 0de0846..c5da38c 100644 --- a/wit/deps/io/streams.wit +++ b/wit/deps/io/streams.wit @@ -1,4 +1,4 @@ -package wasi:io@0.2.3; +package wasi:io@0.2.6; /// WASI I/O is an I/O abstraction API which is currently focused on providing /// stream types. diff --git a/wit/deps/io/world.wit b/wit/deps/io/world.wit index f1d2102..84c85c0 100644 --- a/wit/deps/io/world.wit +++ b/wit/deps/io/world.wit @@ -1,4 +1,4 @@ -package wasi:io@0.2.3; +package wasi:io@0.2.6; @since(version = 0.2.0) world imports { diff --git a/wit/types.wit b/wit/types.wit index 6c8a487..f6b69b3 100644 --- a/wit/types.wit +++ b/wit/types.wit @@ -1,11 +1,11 @@ @unstable(feature = tls) interface types { @unstable(feature = tls) - use wasi:io/streams@0.2.3.{input-stream, output-stream}; + use wasi:io/streams@0.2.6.{input-stream, output-stream}; @unstable(feature = tls) - use wasi:io/poll@0.2.3.{pollable}; + use wasi:io/poll@0.2.6.{pollable}; @unstable(feature = tls) - use wasi:io/error@0.2.3.{error as io-error}; + use wasi:io/error@0.2.6.{error as io-error}; @unstable(feature = tls) resource client-handshake {