wasi-sdk icon indicating copy to clipboard operation
wasi-sdk copied to clipboard

WASI-enabled WebAssembly C/C++ toolchain

Results 103 wasi-sdk issues
Sort by recently updated
recently updated
newest added

Not sure how you all build compiler-rt now, but thanks to https://stackoverflow.com/questions/53633705/cmake-the-c-compiler-is-not-able-to-compile-a-simple-test-program I found this elegant way to avoid a dependency cycle stemming from cmake's default configure step. Got here...

checked wasi-sdk 12.0 & 16.0 ... both fail in this way ``` $ tar xf wasi-sdk-16.0-linux.tar.gz $ cd wasi-sdk-16.0 $ echo 'int main(){return 0;}' > test.c # This works. $...

Update to the llvm release/15.x branch.

When upgrading from SDK 15 to 16, I'm running into the following problem whilst compiling a c file: ```text "/usr/bin/wasm-ld" -m wasm32 -L/share/wasi-sysroot/lib/wasm32-wasi/llvm-lto/14.0.4 -L/share/wasi-sysroot/lib/wasm32-wasi /share/wasi-sysroot/lib/wasm32-wasi/crt1-reactor.o --entry _initialize --export=malloc --export=free --export=lodepng_decode32...

Trying to "import std" (using C++ 20xx modules) results in a bunch of errors, as the module.modulemap includes several unsupported std APIs (mostly related to synchronization). Simply commenting out the...

In [this repo](https://github.com/ggoodman/wasi-import-repro), I've shown two scenarios where code that is functionally identical produces very different WASM binaries. ### Setup The two scenarios I'm testing are for a rust `cdylib`...

Why are we building them with `RelWithDebugInfo` instead of `Release`? Apart from lower optimization level, it causes dwarf sections to be linked into the final wasm with default linking flags,...

Update LLVM v18.1.1, and perhaps fixed submodule (src/config).

Using the clang++ shipped with wask-sdk, which reports as 16.0.0: ``` E:\tmp\consolelocal>%WASI_SDK_PATH%\bin\clang++.exe --version clang version 16.0.0 Target: wasm32-unknown-wasi Thread model: posix InstalledDir: e:/github/wasi-sdk/bin ``` it fails on windows with some...

I've encountered an issue while compiling C code to WASM, and subsequently converting it to WAT. The issue pertains to the way string concatenation is handled in the WAT output....