Package Details: wasi-sdk-bin 20.0-1

Git Clone URL: https://aur.archlinux.org/wasi-sdk-bin.git (read-only, click to copy)
Package Base: wasi-sdk-bin
Description: WASI-enabled WebAssembly C/C++ toolchain
Upstream URL: https://github.com/WebAssembly/wasi-sdk
Licenses: Apache-2.0
Submitter: marmistrz
Maintainer: hotaru
Last Packager: hotaru
Votes: 3
Popularity: 0.000000
First Submitted: 2020-03-04 17:20 (UTC)
Last Updated: 2023-03-31 08:49 (UTC)

Latest Comments

lyhokia commented on 2022-04-01 07:01 (UTC)

This doesn't integrate well with default clang install, for example if I use this command:

clang --target=wasm32-unknown-wasi 

It will not use the modified version of clang. I have to hack on PATH.

trickypr commented on 2021-12-20 04:19 (UTC) (edited on 2021-12-20 04:20 (UTC) by trickypr)

This package doesn't seem to copy the libclang_rt.builtings-wasm32.a file which is required to build firefox. The following instructions will show how to fix the following error:

wasm-ld: error: cannot open /usr/lib/clang/13.0.0/lib/wasi/libclang_rt.builtins-wasm32.a: No such file or directory

You need to go to the wasi-sdk github repo and to the releases section, download libclang_rt.builtins-wasm32-wasi-14.0.tar.gz and extract it. Create the folder mentioned in the error message (for me sudo mkdir -p /usr/lib/clang/13.0.0/lib/wasi/) and copy libclang_rt.builtins-wasm32.a into that folder.

I would love to see a fix for this added to the package.

yurikoles commented on 2021-11-04 02:02 (UTC)

Please add wasi-sdk to provides and conflicts

marmistrz commented on 2020-08-08 08:06 (UTC)

Sorry for the delay, I was talking with a possible replacement maintainer. I'm not using this package anymore atm, so I'm orphaning it not to block further development.

acsuhllteuyr commented on 2020-07-26 15:49 (UTC)

Needs updating to version 11 and it should also download wasi-sdk-11.0-linux.tar.gz and put that somewhere in /opt/wasi-sdk for the binaries.

marmistrz commented on 2020-04-19 13:34 (UTC)

@paulequilibrio, that's a great idea! I'm wondering if I should bump the pkgrel every time clang version changes.

paulequilibrio commented on 2020-04-19 13:32 (UTC) (edited on 2020-04-19 13:33 (UTC) by paulequilibrio)

First of all, thank you so much for this package!

However I had an issue due to the hard coded clang version in the PKGBUILD.

Could you remove the hard coded clang version and change it to something like the below?

_clang_version=$(clang --version | grep version | cut -d" " -f3)