You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
i'm trying to use the host command to run adapted preview1 modules. i was able to run simple "hello" style modules.
eg.
wasm-tools component new hello.wasm --adapt wasi_snapshot_preview1.wasm -o chello.wasm
host chello.wasm
however, for a bit more complex modules which involve filesystem operations, i failed to find a way to specify preopens.
(i'm looking for functionality equiv of wasmtime run --dir)
hi,
i'm trying to use the
hostcommand to run adapted preview1 modules. i was able to run simple "hello" style modules.eg.
however, for a bit more complex modules which involve filesystem operations, i failed to find a way to specify preopens.
(i'm looking for functionality equiv of
wasmtime run --dir)i guess this
get-directoriesthing is related.preview2-prototyping/wit/preopens.wit
Line 16 in d3bd2bc
any help? thank you.