Currently,
* wasi-compiler-rt
* wasi-libc++
* wasi-libc++abi
Exception:
* wasi-libc
The 3 first are stuck to very old 13 version. They should follow the clang/llvm version.
As example, compiling librewolf from AUR package, will detect clang/llvm version and will search for corresponding wasi-compiler-rt version, that put a static lib in /usr/lib/clang/${version}/lib/wasi/libclang_rt.builtins-wasm32.a where ${version} is the clib/llvm version. wasi 13 will put it in ${version} = 13 directory. making application using wasi unable to found the corresponding libclang_rt.builtins-wasm32.a file.
wasi-compiler-rt can be recompiled with corresponding version by:
git clonemake_clickable_callback(MAGIC_URL_FULL, ' ', 'https://gitlab.archlinux.org/archlinux/packaging/packages/wasi-compiler-rt', '', ' class="postlink"')
cd wasi-compiler-rt
if clang/llvm is not the last version (currently 21 so not needed), need to look at the git log and go back to the good commit.
then to build the corresponding current version, just:
makepkg -A
and install the corresponding made package. This will allow to compile packages like librewolf.
