forked from WebAssembly/wasi-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build and test
wasm32-wasi-preview2
target
This updates `wasi-libc` to include WebAssembly/wasi-libc#457, which adds preliminary support for the new `wasm32-wasi-preview2` target. It also adds support for testing the new target using Wasmtime 16.0.0 and `wit-component`. Signed-off-by: Joel Dice <[email protected]>
- Loading branch information
Showing
8 changed files
with
128 additions
and
41 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
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
Submodule wasi-libc
updated
8 files
+11 −7 | .github/workflows/main.yml | |
+8 −2 | Makefile | |
+1 −1 | README.md | |
+1,206 −0 | expected/wasm32-wasi-preview2/defined-symbols.txt | |
+171 −0 | expected/wasm32-wasi-preview2/include-all.c | |
+3,364 −0 | expected/wasm32-wasi-preview2/predefined-macros.txt | |
+68 −0 | expected/wasm32-wasi-preview2/undefined-symbols.txt | |
+34 −4 | test/Makefile |
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,6 @@ | ||
Error: failed to run main module `abort.c.---.wasm` | ||
|
||
Caused by: | ||
0: failed to invoke `run` function | ||
1: error while executing at wasm backtrace: | ||
2: wasm trap: wasm `unreachable` instruction executed |
7 changes: 7 additions & 0 deletions
7
tests/general/assert-fail.c.wasm32-wasi-preview2.stderr.expected
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,7 @@ | ||
Assertion failed: false (assert-fail.c: main: 5) | ||
Error: failed to run main module `assert-fail.c.---.wasm` | ||
|
||
Caused by: | ||
0: failed to invoke `run` function | ||
1: error while executing at wasm backtrace: | ||
2: wasm trap: wasm `unreachable` instruction executed |
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,6 @@ | ||
raising SIGABRT... | ||
Program received fatal signal: Aborted | ||
Error: failed to run main module `sigabrt.c.---.wasm` | ||
|
||
Caused by: | ||
0: failed to invoke `run` function |
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