summaryrefslogtreecommitdiff
path: root/README (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-08-21README: Update for newer wasi-sdkHEADmasterAndrew Clayton1-0/+4
Starting with wasi-sdk version 26 the layout of the files has changed. We now have something like /usr/bin/../lib/clang/20/lib/wasm32-unknown-wasi: total 444 -rw-r--r-- 1 1001 118 452798 Jul 27 22:33 libclang_rt.builtins.a /usr/bin/../lib/clang/20/lib/wasm32-unknown-wasip1: total 444 -rw-r--r-- 1 1001 118 452798 Jul 27 22:33 libclang_rt.builtins.a /usr/bin/../lib/clang/20/lib/wasm32-unknown-wasip1-threads: total 448 -rw-r--r-- 1 1001 118 455618 Jul 27 22:33 libclang_rt.builtins.a /usr/bin/../lib/clang/20/lib/wasm32-unknown-wasip2: total 444 -rw-r--r-- 1 1001 118 452798 Jul 27 22:33 libclang_rt.builtins.a /usr/bin/../lib/clang/20/lib/wasm32-unknown-wasi-threads: total 448 -rw-r--r-- 1 1001 118 455618 Jul 27 22:33 libclang_rt.builtins.a I.e. we no longer create a wasi directory. We now have multiple wasm targets each in their own directory. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2025-04-17README: Update libclang_rt.builtins-wasm32.a install commandAndrew Clayton1-2/+2
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-11-06README: Fix the libclang_rt.builtins-wasm32-wasi install commandAndrew Clayton1-2/+1
Starting with wasi-sdk-23 the directory layout of the tarball has changed from lib/wasi/... to libclang_rt.builtins-wasm32-wasi-VERSION/... Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-10README: Enclose URLs in <>Andrew Clayton1-2/+2
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-07README: Add some info for getting started with wasi-httpAndrew Clayton1-0/+115
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-06README: Fix typoAndrew Clayton1-1/+1
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2024-09-06README: Update about the current purpose of thisAndrew Clayton1-0/+13
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-10-26Move wasmtime-wasi-http to its own directoryAndrew Clayton1-1/+1
Moved to c/wasmtime-wasi-http Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-10-25Add a component model exampleAndrew Clayton1-0/+32
This adds the 'Hello World' example from here[0]. The runtime is in Rust and the component is in C. This requires some new tools - https://github.com/bytecodealliance/wit-bindgen - https://github.com/bytecodealliance/wasm-tools You can use the pre-built packages, once downloaded and untar'd, edit rust/hello_world/component/Makefile and adjust the paths for the above tools. To build the component with make you may need to specify where the WASI sysroot is $ make WASI_SYSROOT=/path/to/wasi-sysroot [0]: <https://docs.rs/wasmtime/latest/wasmtime/component/macro.bindgen.html> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-10-17Initial commitAndrew Clayton1-0/+72
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>