generated from WebAssembly/wasi-proposal-template
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from yoshuawuyts/v0.2.3
v0.2.3
- Loading branch information
Showing
26 changed files
with
167 additions
and
167 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:cli@0.2.2; | ||
package wasi:cli@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world command { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
[clocks] | ||
url = "https://github.com/WebAssembly/wasi-clocks/archive/main.tar.gz" | ||
sha256 = "c2da62619d1067646316e8592b583d77036d778e28b1154353e0825956b3d6aa" | ||
sha512 = "4d409fc38b31646fc5de70160e81bd3fa67f9c99b4d24543b4fd40a922c7545739869521b8a997efb675d0816de8b001b6af7950e0cb0bc823d89b9f07b286c4" | ||
sha256 = "93a701968a7dd3c5d69031bc0601681c468972fdf7e28a93bb6150a67d6ebe8b" | ||
sha512 = "98fca567c7a01887b0fb38981f1772169b6ea8de475b546508f8b86738d84e44ba95cae81def40ac34e8809f5f60e85224077ab8cb6d6d5d6296acc1df73c159" | ||
|
||
[filesystem] | ||
url = "https://github.com/WebAssembly/wasi-filesystem/archive/main.tar.gz" | ||
sha256 = "69e220ec22593f097c7f486dd9e4f95576ef7056d3d531a86a277654872997ba" | ||
sha512 = "457c027aebd1430e924564b3bb2477bc163083cb1029105c1432cbdc165cdf3cce4ac62dbb8e43e3dec09e24a6b2029204212e2f0e3919137cb207165368e157" | ||
sha256 = "69d42fb10a04a33545b17e055f13db9b1e10e82ba0ed5bdb52334e40dc07c679" | ||
sha512 = "612effbac6f4804fe0c29dae20b78bbba59e52cb754c15402f5fe229c3153a221e0fbdff1d9d00ceaa3fe049c6a95523a5b99f772f1c16d972eade2c88326a30" | ||
|
||
[io] | ||
url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz" | ||
sha256 = "6d8dbfaaaa685167c1829616dc7265f5f3cb776845879555612d56544f6d9bfc" | ||
sha512 = "52219562c4183503169cd2947b8164e1c96974500a5adf15bbf382c5992a10a626cc89c3b319204aeda6698ce59cbca2c42f98f7fde296aa77b9db4b41154dbe" | ||
sha256 = "1cccbfe4122686ea57a25cd368e8cdfc408cbcad089f47fb6685b6f92e96f050" | ||
sha512 = "7a95f964c13da52611141acd89bc8876226497f128e99dd176a4270c5b5efbd8cc847b5fbd1a91258d028c646db99e0424d72590cf1caf20f9f3a3343fad5017" | ||
|
||
[random] | ||
url = "https://github.com/WebAssembly/wasi-random/archive/main.tar.gz" | ||
sha256 = "b4bb285b1c51aac2f8911f6b44ba1587108a2b24f910fe4774414dc286678b66" | ||
sha512 = "bc2ffca0ae48f54977a763a70fcfcd5f4fca6b7c530916352f98c59627cc3f5899e47b6308bd9848b8c72e14db57e254757d580010a3d56e6888dafce3dcb679" | ||
sha256 = "dd0c91e7125172eb8fd4568e15ad9fc7305643015e6ece4396c3cc5e8c2bf79a" | ||
sha512 = "d1ca2e7b0616a94a3b39d1b9450bb3fb595b01fd94a8626ad75433038dde40988ecb41ab93a374d569ab72163af3b30038d7bfc3499b9c07193181f4f1d9292a" | ||
|
||
[sockets] | ||
url = "https://github.com/WebAssembly/wasi-sockets/archive/main.tar.gz" | ||
sha256 = "f254783796170fdeac6756496cc6169903a88adeda7a5895265414bc63ba4d66" | ||
sha512 = "3f68e874beb0ac9729d1738546a430f2f8b369eb510d3cd6dfcfc41427acb52a82701d73584b8ab637b8c3908c5d4f7a7d4806032cc5d375643fad0ebf84e053" | ||
sha256 = "2bc0f65a8046207ee3330ad7d63f6fafeafd4cc0ea4084f081bd5e4f7b177e74" | ||
sha512 = "3e5490e41547dffa78d52631825d93da8d60f4af0246cbaf97e1ecb879285953a86d5f1f390b10c32f91dd7eaec6f43e625a26b1c92c32a0c86fde428aedaaab" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.2; | ||
package wasi:clocks@0.2.3; | ||
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed | ||
/// time. | ||
/// | ||
|
@@ -10,7 +10,7 @@ package wasi:[email protected]; | |
@since(version = 0.2.0) | ||
interface monotonic-clock { | ||
@since(version = 0.2.0) | ||
use wasi:io/poll@0.2.2.{pollable}; | ||
use wasi:io/poll@0.2.3.{pollable}; | ||
|
||
/// An instant in time, in nanoseconds. An instant is relative to an | ||
/// unspecified initial value, and can only be compared to instances from | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.2; | ||
package wasi:clocks@0.2.3; | ||
|
||
@unstable(feature = clocks-timezone) | ||
interface timezone { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.2; | ||
package wasi:clocks@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world imports { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package wasi:filesystem@0.2.2; | ||
package wasi:filesystem@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
interface preopens { | ||
@since(version = 0.2.0) | ||
use types.{descriptor}; | ||
|
||
/// Return the set of preopened directories, and their path. | ||
/// Return the set of preopened directories, and their paths. | ||
@since(version = 0.2.0) | ||
get-directories: func() -> list<tuple<descriptor, string>>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:filesystem@0.2.2; | ||
package wasi:filesystem@0.2.3; | ||
/// WASI filesystem is a filesystem API primarily intended to let users run WASI | ||
/// programs that access their files on their existing filesystems, without | ||
/// significant overhead. | ||
|
@@ -26,9 +26,9 @@ package wasi:[email protected]; | |
@since(version = 0.2.0) | ||
interface types { | ||
@since(version = 0.2.0) | ||
use wasi:io/streams@0.2.2.{input-stream, output-stream, error}; | ||
use wasi:io/streams@0.2.3.{input-stream, output-stream, error}; | ||
@since(version = 0.2.0) | ||
use wasi:clocks/wall-clock@0.2.2.{datetime}; | ||
use wasi:clocks/wall-clock@0.2.3.{datetime}; | ||
|
||
/// File size or length of a region within a file. | ||
@since(version = 0.2.0) | ||
|
@@ -327,7 +327,7 @@ interface types { | |
/// May fail with an error-code describing why the file cannot be appended. | ||
/// | ||
/// Note: This allows using `write-stream`, which is similar to `write` with | ||
/// `O_APPEND` in in POSIX. | ||
/// `O_APPEND` in POSIX. | ||
@since(version = 0.2.0) | ||
append-via-stream: func() -> result<output-stream, error-code>; | ||
|
||
|
@@ -623,7 +623,7 @@ interface types { | |
/// replaced. It may also include a secret value chosen by the | ||
/// implementation and not otherwise exposed. | ||
/// | ||
/// Implementations are encourated to provide the following properties: | ||
/// Implementations are encouraged to provide the following properties: | ||
/// | ||
/// - If the file is not modified or replaced, the computed hash value should | ||
/// usually not change. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:filesystem@0.2.2; | ||
package wasi:filesystem@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world imports { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:io@0.2.2; | ||
package wasi:io@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
interface error { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:io@0.2.2; | ||
package wasi:io@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world imports { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:random@0.2.2; | ||
package wasi:random@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world imports { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:sockets@0.2.2; | ||
package wasi:sockets@0.2.3; | ||
|
||
@since(version = 0.2.0) | ||
world imports { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters