File tree Expand file tree Collapse file tree 14 files changed +344
-338
lines changed Expand file tree Collapse file tree 14 files changed +344
-338
lines changed Original file line number Diff line number Diff line change 1818 ./wit-deps lock
1919 git add -N wit/deps
2020 git diff --exit-code
21- - uses : WebAssembly/wit-abi-up-to-date@v21
21+ - uses : WebAssembly/wit-abi-up-to-date@v22
2222 with :
23- wit-bindgen : ' 0.28 .0'
23+ wit-bindgen : ' 0.33 .0'
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11[clocks]
22url = "https://github.com/WebAssembly/wasi-clocks/archive/main.tar.gz"
3- sha256 = "ea9d69ee803bc176e23e5268f5e24a2ac485dd1f62a0ab4c748e9d3f901f576f "
4- sha512 = "5efc22927c46cd56c41e5549ec775561c7fac2ea0d365abc0b55396d9475a7c9f984077a81f84a44a726f1c008fd2fadbffffa4fa53ecd5fbfd05afd379ab428 "
3+ sha256 = "c2da62619d1067646316e8592b583d77036d778e28b1154353e0825956b3d6aa "
4+ sha512 = "4d409fc38b31646fc5de70160e81bd3fa67f9c99b4d24543b4fd40a922c7545739869521b8a997efb675d0816de8b001b6af7950e0cb0bc823d89b9f07b286c4 "
55
66[io]
77url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
8- sha256 = "2a74bd811adc46b5a0f19827ddbde89870e52b17615f4d0873f06fd977250caf "
9- sha512 = "94624f00c66e66203592cee820f80b1ba91ecdb71f682c154f25eaf71f8d8954197dcb64503bc21e72ed5e812af7eae876df47b7eb727b02db3a74a7ce0aefca "
8+ sha256 = "6d8dbfaaaa685167c1829616dc7265f5f3cb776845879555612d56544f6d9bfc "
9+ sha512 = "52219562c4183503169cd2947b8164e1c96974500a5adf15bbf382c5992a10a626cc89c3b319204aeda6698ce59cbca2c42f98f7fde296aa77b9db4b41154dbe "
Original file line number Diff line number Diff line change 1- package wasi : clocks @ 0.2.1 ;
1+ package wasi : clocks @ 0.2.2 ;
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.1;
1010@since (version = 0.2.0 )
1111interface monotonic-clock {
1212 @since (version = 0.2.0 )
13- use wasi :io /poll @ 0.2.1 . {pollable };
13+ use wasi :io /poll @ 0.2.2 . {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
Original file line number Diff line number Diff line change 1- package wasi : clocks @ 0.2.1 ;
1+ package wasi : clocks @ 0.2.2 ;
22
33@unstable (feature = clocks-timezone )
44interface timezone {
Original file line number Diff line number Diff line change 1- package wasi : clocks @ 0.2.1 ;
1+ package wasi : clocks @ 0.2.2 ;
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.
Original file line number Diff line number Diff line change 1- package wasi : clocks @ 0.2.1 ;
1+ package wasi : clocks @ 0.2.2 ;
22
33@since (version = 0.2.0 )
44world imports {
Original file line number Diff line number Diff line change 1- package wasi : io @ 0.2.1 ;
1+ package wasi : io @ 0.2.2 ;
22
33@since (version = 0.2.0 )
44interface error {
Original file line number Diff line number Diff line change 1- package wasi : io @ 0.2.1 ;
1+ package wasi : io @ 0.2.2 ;
22
33/// A poll API intended to let users wait for I/O events on multiple handles
44/// at once.
Original file line number Diff line number Diff line change 1- package wasi : io @ 0.2.1 ;
1+ package wasi : io @ 0.2.2 ;
22
33/// WASI I/O is an I/O abstraction API which is currently focused on providing
44/// stream types.
@@ -18,6 +18,9 @@ interface streams {
1818 /// The last operation (a write or flush) failed before completion.
1919 ///
2020 /// More information is available in the `error` payload.
21+ ///
22+ /// After this, the stream will be closed. All future operations return
23+ /// `stream-error::closed` .
2124 last-operation-failed (error ),
2225 /// The stream is closed: no more input will be accepted by the
2326 /// stream. A closed output-stream will return this error on all
@@ -205,6 +208,7 @@ interface streams {
205208 /// The created `pollable` is a child resource of the `output-stream` .
206209 /// Implementations may trap if the `output-stream` is dropped before
207210 /// all derived `pollable` s created with this function are dropped.
211+ @since (version = 0.2.0 )
208212 subscribe : func () -> pollable ;
209213
210214 /// Write zeroes to a stream.
You can’t perform that action at this time.
0 commit comments