mirror of https://github.com/WebAssembly/wasi-sdk
build and test `wasm32-wasi-preview2` target (#370)
* build and test `wasm32-wasi-preview2` target This updates `wasi-libc` to include https://github.com/WebAssembly/wasi-libc/pull/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`. Note that Wasmtime produces different output when reporting errors for Preview 2 components than it does for Preview 1 modules, so I've added a few .expected files specific to Preview 2. Signed-off-by: Joel Dice <joel.dice@fermyon.com> * test all three targets Signed-off-by: Joel Dice <joel.dice@fermyon.com> --------- Signed-off-by: Joel Dice <joel.dice@fermyon.com>pull/375/head
parent
317548590b
commit
8f465debf6
@ -1 +1 @@
|
||||
Subproject commit c5264e2bbe532994d06b039005f2af91bedcc1a6
|
||||
Subproject commit 925ad6d75899397d26b9f09a6f195dbf5eb35814
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in new issue