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

I'm trying to use clang-9 to compile and use `wasi-sysroot`, but additionally the `libclang_rt.builtins-wasm32.a` file is required to link into the final wasm module. It is not obvious how to...

When compiling and running the followig code: ```c++ // global_ctor.cpp #include struct S { S() { std::cout

Are there any plans to support 64-bit builds? It looks to me like wasm64 (also known as "memory64") uses a LP64 model (`int` is 32 bits, `long`, `long long`, and...

Hi! I am trying to generate the following code using an external function that has multiple return values: https://godbolt.org/z/WG4nqqsaP. When I compile it using wasi-sdk-12, it generates an invalid .wasm...

I'm a rookie with this stuff so bear with me please. When compiling .c program to .wasm using clang, it automatically exports memory, which then for some reasons causes problems...

It is great to have [`wasi.cmake`](https://github.com/WebAssembly/wasi-sdk/blob/main/wasi-sdk.cmake) and we use it in several projects ([ethash](https://github.com/chfast/ethash),[evmone](https://github.com/ethereum/evmone)), however during integration we have noticed one shortcoming stemming from the `set(CMAKE_SYSTEM_NAME WASI)` setting. CMake will...

Hi, right now wasm-sdk isn't strong enough to support ICU libs and some needs to create workarounds for that, for example https://bugzilla.mozilla.org/show_bug.cgi?id=1706949. But iiuc wasi with atomic and threads support...

Using wasi-sdk-12 on Linux: ``` $ clang cp-skip-unused.c -o demo.wasm In file included from cp-skip-unused.c:171: /opt/wasi-sdk/share/wasi-sysroot/include/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and...

This adds a basic testcase for `getentropy` which checks for errno and a sane result.