diff --git a/lib/wasi_snapshot_preview1.command.wasm b/lib/wasi_snapshot_preview1.command.wasm index 9b4552d7c..be7a67ff8 100644 Binary files a/lib/wasi_snapshot_preview1.command.wasm and b/lib/wasi_snapshot_preview1.command.wasm differ diff --git a/lib/wasi_snapshot_preview1.reactor.wasm b/lib/wasi_snapshot_preview1.reactor.wasm index ee1f826c3..c2db10094 100644 Binary files a/lib/wasi_snapshot_preview1.reactor.wasm and b/lib/wasi_snapshot_preview1.reactor.wasm differ diff --git a/submodules/wasmtime b/submodules/wasmtime index fd6f261e5..b73b18caf 160000 --- a/submodules/wasmtime +++ b/submodules/wasmtime @@ -1 +1 @@ -Subproject commit fd6f261e50d2fe63b70c1f9b64f0adbe166e6a9d +Subproject commit b73b18caff267ab17b912f114278899cfa768f82 diff --git a/submodules/wit-bindgen b/submodules/wit-bindgen index ce46cf41a..29c1079db 160000 --- a/submodules/wit-bindgen +++ b/submodules/wit-bindgen @@ -1 +1 @@ -Subproject commit ce46cf41adc9fc12ed4038588fc992ff55a2312b +Subproject commit 29c1079dbb1805b7128cf01f07a5e9bfdcbdd934 diff --git a/test/fixtures/wit/deps/io/poll.wit b/test/fixtures/wit/deps/io/poll.wit index ddc67f8b7..8139064c3 100644 --- a/test/fixtures/wit/deps/io/poll.wit +++ b/test/fixtures/wit/deps/io/poll.wit @@ -27,8 +27,9 @@ interface poll { /// The result `list` contains one or more indices of handles in the /// argument list that is ready for I/O. /// - /// If the list contains more elements than can be indexed with a `u32` - /// value, this function traps. + /// This function traps if either: + /// - the list is empty, or: + /// - the list contains more elements than can be indexed with a `u32` value. /// /// A timeout can be implemented by adding a pollable from the /// wasi-clocks API to the list.