-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies to latest. (#44)
* Update dependencies to latest. This commit updates dependencies to latest. It also updates the WASI adapter to be compatible with Wasmtime 15. * Fix linting error. * Add missing semicolons to WITs. * Add more missing semicolons. * Fix to tests for changed resource API. * More fixes to Wasmtime 15 API changes. * More API changes. * More test fixes. * remove obsolete paragraph from README.md Signed-off-by: Joel Dice <joel.dice@fermyon.com> * bump version to 0.7.0; update http example Signed-off-by: Joel Dice <joel.dice@fermyon.com> --------- Signed-off-by: Joel Dice <joel.dice@fermyon.com> Co-authored-by: Joel Dice <joel.dice@fermyon.com>
- Loading branch information
1 parent
e34f133
commit 65e7697
Showing
57 changed files
with
2,359 additions
and
2,410 deletions.
There are no files selected for viewing
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
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
Binary file not shown.
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,8 +1,3 @@ | ||
The subdirectory of this directory contains a build of the WASI Preview 1 | ||
component adapter. It was built from commit `e8766e49` of | ||
https://github.com/dicej/wasmtime using the | ||
`ci/build-wasi-preview1-component-adapter.sh` script. | ||
|
||
TODO: Switch back to upstream once | ||
https://github.com/bytecodealliance/wasmtime/pull/7444 has been merged and | ||
released. | ||
component adapter. It was built from commit `6f0da84` of | ||
https://github.com/bytecodealliance/wasmtime. |
Binary file not shown.
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,37 +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 { | ||
import wasi:clocks/wall-clock@0.2.0-rc-2023-10-18; | ||
import wasi:clocks/monotonic-clock@0.2.0-rc-2023-10-18; | ||
import wasi:clocks/timezone@0.2.0-rc-2023-10-18; | ||
import wasi:filesystem/types@0.2.0-rc-2023-10-18; | ||
import wasi:filesystem/preopens@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/instance-network@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/ip-name-lookup@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/network@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/tcp-create-socket@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/tcp@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/udp-create-socket@0.2.0-rc-2023-10-18; | ||
import wasi:sockets/udp@0.2.0-rc-2023-10-18; | ||
import wasi:random/random@0.2.0-rc-2023-10-18; | ||
import wasi:random/insecure@0.2.0-rc-2023-10-18; | ||
import wasi:random/insecure-seed@0.2.0-rc-2023-10-18; | ||
import wasi:io/poll@0.2.0-rc-2023-10-18; | ||
import wasi:io/streams@0.2.0-rc-2023-10-18; | ||
import wasi:cli/environment@0.2.0-rc-2023-10-18; | ||
import wasi:cli/exit@0.2.0-rc-2023-10-18; | ||
import wasi:cli/stdin@0.2.0-rc-2023-10-18; | ||
import wasi:cli/stdout@0.2.0-rc-2023-10-18; | ||
import wasi:cli/stderr@0.2.0-rc-2023-10-18; | ||
import wasi:cli/terminal-input@0.2.0-rc-2023-10-18; | ||
import wasi:cli/terminal-output@0.2.0-rc-2023-10-18; | ||
import wasi:cli/terminal-stdin@0.2.0-rc-2023-10-18; | ||
import wasi:cli/terminal-stdout@0.2.0-rc-2023-10-18; | ||
import wasi:cli/terminal-stderr@0.2.0-rc-2023-10-18; | ||
|
||
// We should replace all others with `include self.command` | ||
// as soon as the unioning of worlds is available: | ||
// https://github.com/WebAssembly/component-model/issues/169 | ||
import wasi:logging/logging@0.2.0-rc-2023-10-18; | ||
import wasi:http/outgoing-handler@0.2.0-rc-2023-10-18; | ||
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-10-18; | ||
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-10-18.{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-10-18.{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-10-18.{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
Oops, something went wrong.