Open
Description
Motivation
It is quite common to have to provide a pre-determined stdin value to a Wasm module, without having to expose a full file system to it.
Proposed solution
leverage this function:
https://docs.wasmtime.dev/c-api/wasi_8h.html#a525abd98ade58887a969b796ea05468e
would require modifying
wasmer-go/wasmer/packaged/include/wasmer.h
Lines 705 to 707 in ca60a45
and
Lines 196 to 202 in ca60a45
Alternatives
The best alternative at the moment is passing the value as argument on the command line, but that's not great for large and / or binary values.
Activity