bytecodealliance / bytecodealliance/wac

Syntax for wasi-virt support

Open
#21 6 comments 0 reactions 1 assignee Claimed by @fibonacci1729 View on GitHub
Dominant language
Rust
Stars
208
Forks
41
Avg merge
2d 7h
Merged PRs (30d)
3

Description

WAC should have syntax for creating [WASI-Virt](https://github.com/bytecodealliance/WASI-Virt) instances so that they can be composed with other instances.

Some hypothetical expression syntax:

```
virtualize {
fs: {
mounts: {
"/guest-path": "./host-path",
},
preopens: {
"/guest-path": "./host-path",
},
},
env: {
vars: {
"FOO": "BAR",
},
inherit: ["HOST-VAR"],
// or: inherit: *,
}
// other WASI-Virt configuration here
}
```

which results in an instance that exports the requisite WASI interfaces (instances).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.