wasm-c-api icon indicating copy to clipboard operation
wasm-c-api copied to clipboard

Wasm C API prototype

Results 58 wasm-c-api issues
Sort by recently updated
recently updated
newest added

See also #156, #164, WebAssembly/wabt#1972 and WebAssembly/wabt#2161. Yes, linear memory as seen from wasm is always little-endian. But how should the *host* see it? `wasm-c-api` currently assumes the host is...

In general, runtimes will deduplicate and canonicalize function types so that a signature can have a single engine-wide ID that can be used when type checking indirect calls across modules...

It seems like the API doesn't support memory64, in that `idxtype` isn't available.

Hi, For debian it will be simpler if you could tag version used by wabt like 0.0.0~beta1

I refer to [`vec::make_nt`](https://github.com/WebAssembly/wasm-c-api/blob/2ce1367c9d1271c83fb63bef26d896a2f290cd23/include/wasm.hh#L154-L158 ): https://github.com/WebAssembly/wasm-c-api/blob/2ce1367c9d1271c83fb63bef26d896a2f290cd23/include/wasm.hh#L154-L158 This is implemented using `std::strcpy`, which stops copying when it encounters `\0`. It seems like more often than not, it's used to hold bytes...

Many of the popular Wasm runtimes that adhere to the Wasm C API e.g. Wasmtime, Wasmer support metering. Typically, either fuel- or timeout-based metering is supported. It would be great...

[01:25:19:899 - 7F01820E5580]: warning: failed to link import function (env, shm_open) [01:25:19:909 - 7F01820E5580]: warning: failed to link import function (env, ftruncate) Exception: failed to call unlinked import function (env,...

Related to https://github.com/wasmerio/wasmer/pull/3597/

I just run docker build . in master and v8 branch. ``` === C++ multi ==== Initializing... Loading binary... Compiling module... Creating callback... Instantiating module... Extracting export... Calling export... >...