]> git.proxmox.com Git - wasi-libc.git/commit
Update bindings and dependencies to WASI 0.2.0 (#471)
authorJoel Dice <joel.dice@fermyon.com>
Thu, 22 Feb 2024 01:57:58 +0000 (18:57 -0700)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 25 Jun 2024 10:13:35 +0000 (12:13 +0200)
commit04e8d6a5850a7e04d2a225c13315d1c3c9f67918
tree1a6b0604089768c9aa59b42104d5c0318c048a96
parent5aa0bf552c14cb333a790adc10c59ca708496505
Update bindings and dependencies to WASI 0.2.0 (#471)

* make the Makefiles a bit more robust

- Escape "." character in `sed` regex
- Ensure that %.wasm target fails cleanly (i.e. without generating the target file) if `wasm-tools` fails

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
* split `component new` rule out of link rule for Preview 2

We now explicitly distinquish between core module files (%.core.wasm) and
component files (%.wasm), which helps avoid the trickery in my previous commit.

In order to test this properly, I needed to update the Wasmtime URL to point to
v17.0.0 instead of dev (which we needed to do anyway), and that in turn required
updating the bindings to use the final WASI 0.2.0 release.

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
---------

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Makefile
expected/wasm32-wasi-preview2/defined-symbols.txt
expected/wasm32-wasi-preview2/undefined-symbols.txt
libc-bottom-half/headers/public/wasi/preview2.h
libc-bottom-half/sources/preview2.c
libc-bottom-half/sources/preview2_component_type.o
test/Makefile