generated from WebAssembly/wasi-proposal-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have established a convention for WASI proposals to have a world definition called `imports`. This change updates the `command` world to include an `imports` world rather than `reactor`. The goal is to establish consistency with this change as well as clear up some confusion around command vs reactors in this context. Additionally, this change takes advantage of the `include` syntax to include the `imports` worlds across WASI proposals.
- Loading branch information
Showing
9 changed files
with
2,159 additions
and
2,098 deletions.
There are no files selected for viewing
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
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,7 +1,7 @@ | ||
package wasi:cli@0.2.0-rc-2023-11-10; | ||
|
||
world command { | ||
include reactor; | ||
include imports; | ||
|
||
export run; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package wasi:cli@0.2.0-rc-2023-11-10; | ||
|
||
world imports { | ||
include wasi:clocks/imports@0.2.0-rc-2023-11-10; | ||
include wasi:filesystem/imports@0.2.0-rc-2023-11-10; | ||
include wasi:sockets/imports@0.2.0-rc-2023-11-10; | ||
include wasi:random/imports@0.2.0-rc-2023-11-10; | ||
include wasi:io/imports@0.2.0-rc-2023-11-10; | ||
|
||
import environment; | ||
import exit; | ||
import stdin; | ||
import stdout; | ||
import stderr; | ||
import terminal-input; | ||
import terminal-output; | ||
import terminal-stdin; | ||
import terminal-stdout; | ||
import terminal-stderr; | ||
} |
This file was deleted.
Oops, something went wrong.