Implement WASI C API.

This commit implements an initial WASI C API that can be used to instantiate
and configure a WASI instance from C.

This also implements a `WasiBuilder` for the C# API enabling .NET hosts to bind
to Wasmtime's WASI implementation.
This commit is contained in:
Peter Huene
2020-02-07 11:24:26 -08:00
parent f8abe1169c
commit ae0b4090ce
28 changed files with 1303 additions and 268 deletions

2
Cargo.lock generated
View File

@@ -1990,7 +1990,9 @@ dependencies = [
name = "wasmtime-c-api"
version = "0.9.0"
dependencies = [
"wasi-common",
"wasmtime",
"wasmtime-wasi",
]
[[package]]