Browse Source
* wasi-cli: update to version 0.2.0-rc-2023-12-05 * wasi-http: update to 0.2.0-rc-2023-12-05 * fix versions in extra (non-wasi) wits * component adapter: fixes to use cli/imports world, correct versions * wasmtime-wasi: cli/reactor is now cli/imports * sync wasi-http/wit with wasi/wit * fix cli-test component-basic.wat versionpull/7654/head
Pat Hickey
11 months ago
committed by
GitHub
16 changed files with 78 additions and 102 deletions
@ -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-10; |
|||
import wasi:http/outgoing-handler@0.2.0-rc-2023-11-10; |
|||
include wasi:cli/command@0.2.0-rc-2023-12-05; |
|||
import wasi:http/outgoing-handler@0.2.0-rc-2023-12-05; |
|||
} |
|||
|
@ -1,7 +1,7 @@ |
|||
package wasi:cli@0.2.0-rc-2023-11-10; |
|||
package wasi:cli@0.2.0-rc-2023-12-05; |
|||
|
|||
world command { |
|||
include reactor; |
|||
include imports; |
|||
|
|||
export run; |
|||
} |
|||
|
@ -0,0 +1,20 @@ |
|||
package wasi:cli@0.2.0-rc-2023-12-05; |
|||
|
|||
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; |
|||
} |
@ -1,31 +0,0 @@ |
|||
package wasi:cli@0.2.0-rc-2023-11-10; |
|||
|
|||
world reactor { |
|||
import wasi:clocks/wall-clock@0.2.0-rc-2023-11-10; |
|||
import wasi:clocks/monotonic-clock@0.2.0-rc-2023-11-10; |
|||
import wasi:filesystem/types@0.2.0-rc-2023-11-10; |
|||
import wasi:filesystem/preopens@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/instance-network@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/ip-name-lookup@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/network@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/tcp-create-socket@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/tcp@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/udp-create-socket@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/udp@0.2.0-rc-2023-11-10; |
|||
import wasi:random/random@0.2.0-rc-2023-11-10; |
|||
import wasi:random/insecure@0.2.0-rc-2023-11-10; |
|||
import wasi:random/insecure-seed@0.2.0-rc-2023-11-10; |
|||
import wasi:io/poll@0.2.0-rc-2023-11-10; |
|||
import wasi:io/streams@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; |
|||
} |
@ -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-10; |
|||
import wasi:http/outgoing-handler@0.2.0-rc-2023-11-10; |
|||
include wasi:cli/command@0.2.0-rc-2023-12-05; |
|||
import wasi:http/outgoing-handler@0.2.0-rc-2023-12-05; |
|||
} |
|||
|
@ -1,7 +1,7 @@ |
|||
package wasi:cli@0.2.0-rc-2023-11-10; |
|||
package wasi:cli@0.2.0-rc-2023-12-05; |
|||
|
|||
world command { |
|||
include reactor; |
|||
include imports; |
|||
|
|||
export run; |
|||
} |
|||
|
@ -0,0 +1,20 @@ |
|||
package wasi:cli@0.2.0-rc-2023-12-05; |
|||
|
|||
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; |
|||
} |
@ -1,31 +0,0 @@ |
|||
package wasi:cli@0.2.0-rc-2023-11-10; |
|||
|
|||
world reactor { |
|||
import wasi:clocks/wall-clock@0.2.0-rc-2023-11-10; |
|||
import wasi:clocks/monotonic-clock@0.2.0-rc-2023-11-10; |
|||
import wasi:filesystem/types@0.2.0-rc-2023-11-10; |
|||
import wasi:filesystem/preopens@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/instance-network@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/ip-name-lookup@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/network@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/tcp-create-socket@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/tcp@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/udp-create-socket@0.2.0-rc-2023-11-10; |
|||
import wasi:sockets/udp@0.2.0-rc-2023-11-10; |
|||
import wasi:random/random@0.2.0-rc-2023-11-10; |
|||
import wasi:random/insecure@0.2.0-rc-2023-11-10; |
|||
import wasi:random/insecure-seed@0.2.0-rc-2023-11-10; |
|||
import wasi:io/poll@0.2.0-rc-2023-11-10; |
|||
import wasi:io/streams@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; |
|||
} |
Loading…
Reference in new issue