-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WebAssembly C API submodule to latest commit.
This commit updates the WebAssembly C API submodule (for `wasm.h`) to the latest commit out of master. This fixes the behavior of `wasm_name_new_from_string` such that it no longer copies the null character into the name, which caused unexpected failures when using the Wasmtime linker as imports wouldn't resolve when the null was present. Along with this change were breaking changes to `wasm_func_call`, the host callback signatures, and `wasm_instance_new` to take a vector type instead of a pointer to an unsized array. As a result, Wasmtime language bindings based on the C API will need to be updated once this change is pulled in. Fixes #2211. Fixes #2131.
- Loading branch information
1 parent
2b2f369
commit b9a0055
Showing
19 changed files
with
171 additions
and
134 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
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
Submodule wasm-c-api
updated
33 files
+4 −2 | Makefile | |
+13 −13 | README.md | |
+16 −17 | example/callback.c | |
+16 −15 | example/callback.cc | |
+5 −4 | example/finalize.c | |
+2 −1 | example/finalize.cc | |
+30 −22 | example/global.c | |
+12 −10 | example/global.cc | |
+8 −5 | example/hello.c | |
+6 −4 | example/hello.cc | |
+32 −31 | example/hostref.c | |
+18 −14 | example/hostref.cc | |
+29 −30 | example/memory.c | |
+10 −7 | example/memory.cc | |
+28 −29 | example/multi.c | |
+10 −10 | example/multi.cc | |
+4 −2 | example/reflect.c | |
+15 −14 | example/reflect.cc | |
+9 −5 | example/serialize.c | |
+6 −4 | example/serialize.cc | |
+3 −2 | example/start.c | |
+2 −1 | example/start.cc | |
+17 −16 | example/table.c | |
+10 −9 | example/table.cc | |
+10 −8 | example/threads.c | |
+9 −8 | example/threads.cc | |
+9 −6 | example/trap.c | |
+9 −7 | example/trap.cc | |
+34 −15 | include/wasm.h | |
+208 −111 | include/wasm.hh | |
+34 −34 | src/wasm-bin.cc | |
+57 −44 | src/wasm-c.cc | |
+251 −271 | src/wasm-v8.cc |
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.