bytecodealliance / bytecodealliance/wasmtime-go
Equivalence for `WasiCtx.insert_file` from wasmtime_wasi Rust crate
- Dominant language
- Go
- Stars
- 913
- Forks
- 100
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Hi, thanks for this amazing project.
I came across the [wasmtime_wasi](https://docs.wasmtime.dev/api/wasmtime_wasi/#) Rust crate and found the `WasiCtx` struct really handy, and especially for its `insert_file` function.
While not being able to identify the equivalence of `WasiCtx` from `wasmtime-go`, I see `WasiConfig` implements some similar functions, including [SetStderrFile](https://github.com/bytecodealliance/wasmtime-go/blob/v11.0.0/wasi.go#L121), [SetStdinFile](https://github.com/bytecodealliance/wasmtime-go/blob/v11.0.0/wasi.go#L87), and [SetStdoutFile](https://github.com/bytecodealliance/wasmtime-go/blob/v11.0.0/wasi.go#L104).
I was wondering if I missed anything or is it not yet supported? If so, are there such a plan to support some more (if not all) APIs available to the rust crates?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.