diff options
| author | Andrew Clayton <a.clayton@nginx.com> | 2025-08-21 20:31:44 +0100 |
|---|---|---|
| committer | Andrew Clayton <a.clayton@nginx.com> | 2025-08-21 20:31:44 +0100 |
| commit | 4cfa1dbf111b777e41ef40e68f64d019da281bef (patch) | |
| tree | 89b5ebc596ab4b51f5125cc64103cf8876ed1898 /README | |
| parent | 5e6b6ed2b02ce4503b4373fe2c92d2f59bfe849c (diff) | |
| download | project_blackbird-4cfa1dbf111b777e41ef40e68f64d019da281bef.tar.gz project_blackbird-4cfa1dbf111b777e41ef40e68f64d019da281bef.tar.bz2 | |
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>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -48,6 +48,10 @@ libclang_rt.builtins-wasm32.a For either of the above you will also need the libclang wasm32-wasi runtime library, this can be done with +# For wasi-sdk >= 26 +# wget -O- https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/libclang_rt-27.0.tar.gz | tar --strip-components=1 -xvzf - -C $(dirname $(clang -print-runtime-dir)) + +# For older wasi-sdk # mkdir $(dirname $(clang -print-runtime-dir))/wasi && wget -O- https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/libclang_rt.builtins-wasm32-wasi-25.0.tar.gz | tar --no-same-owner --strip-components=1 -xvzf - -C $(dirname $(clang -print-runtime-dir))/wasi That will install the following, path may vary slightly |
