-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
wasmtime:c-apiIssues pertaining to the C API.Issues pertaining to the C API.
Description
Feature
Rust library can bind WritePipe to WasiCtx stdout which can be far simpler and effective than OS files went dealing with multiple short-lived instances.
It is not currently possible with C/C++ bindings
Benefit
- Avoid useless error-prone and slow interactions by filesystem
- Allow simpler integration in freestanding targets
Implementation
Leverage existing wasi_common::pipe::WritePipe and ReadPipe on the rust side to implemented a binding in c-api
crate.
Alternatives
Export some basic filesystem operations in c binding
gzurl, Angelmmiguel, guregu, cvermilion and benozol
Metadata
Metadata
Assignees
Labels
wasmtime:c-apiIssues pertaining to the C API.Issues pertaining to the C API.