forked from bytecodealliance/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WASI wits: use 0.2.0-rc-2023-11-10 (bytecodealliance#7533)
* wit deps: use 0.2.0-rc-2023-11-10 from WebAssembly/wasi-* repos * local wits: depend on rc-2023-11-10 * wit-bindgen invocation: use rc-2023-11-10 * wasi-http wit subdir: sync with wasi * wasi-http wit-bindgen: update for 11-10 rc * wasi-preview1-component-adapter: imports are from 11-10 rc * cli test component-basic: use wasi rc 11-10
- Loading branch information
1 parent
b47fc15
commit 1e3155d
Showing
56 changed files
with
251 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,9 @@ pub mod bindings { | |
wasmtime::component::bindgen!({ | ||
path: "wit", | ||
interfaces: " | ||
import wasi:http/[email protected]05; | ||
import wasi:http/[email protected]05; | ||
import wasi:http/[email protected]05; | ||
import wasi:http/[email protected]10; | ||
import wasi:http/[email protected]10; | ||
import wasi:http/[email protected]10; | ||
", | ||
tracing: true, | ||
async: false, | ||
|
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,6 +1,6 @@ | ||
// All of the same imports and exports available in the wasi:cli/command world | ||
// with addition of HTTP proxy related imports: | ||
world command-extended { | ||
include wasi:cli/command@0.2.0-rc-2023-11-05; | ||
import wasi:http/outgoing-handler@0.2.0-rc-2023-11-05; | ||
include wasi:cli/command@0.2.0-rc-2023-11-10; | ||
import wasi:http/outgoing-handler@0.2.0-rc-2023-11-10; | ||
} |
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.0-rc-2023-11-05; | ||
package wasi:cli@0.2.0-rc-2023-11-10; | ||
|
||
world command { | ||
include reactor; | ||
|
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,17 +1,17 @@ | ||
interface stdin { | ||
use wasi:io/streams@0.2.0-rc-2023-11-05.{input-stream}; | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream}; | ||
|
||
get-stdin: func() -> input-stream; | ||
} | ||
|
||
interface stdout { | ||
use wasi:io/streams@0.2.0-rc-2023-11-05.{output-stream}; | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream}; | ||
|
||
get-stdout: func() -> output-stream; | ||
} | ||
|
||
interface stderr { | ||
use wasi:io/streams@0.2.0-rc-2023-11-05.{output-stream}; | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream}; | ||
|
||
get-stderr: func() -> output-stream; | ||
} |
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,3 +1,5 @@ | ||
package wasi:filesystem@0.2.0-rc-2023-11-10; | ||
|
||
interface preopens { | ||
use types.{descriptor}; | ||
|
||
|
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:io@0.2.0-rc-2023-11-05; | ||
package wasi:io@0.2.0-rc-2023-11-10; | ||
|
||
|
||
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.0-rc-2023-11-05; | ||
package wasi:io@0.2.0-rc-2023-11-10; | ||
|
||
world imports { | ||
import streams; | ||
|
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
Oops, something went wrong.