make wasi-cap-std-async work with wasmtime-wasi
This commit is contained in:
@@ -15,6 +15,7 @@ build = "build.rs"
|
||||
[dependencies]
|
||||
wasi-common = { path = "../wasi-common", version = "0.26.0" }
|
||||
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.26.0", optional = true }
|
||||
wasi-cap-std-async = { path = "../wasi-common/cap-std-async", version = "0.26.0", optional = true }
|
||||
wiggle = { path = "../wiggle", default-features = false, version = "0.26.0" }
|
||||
wasmtime-wiggle = { path = "../wiggle/wasmtime", default-features = false, version = "0.26.0" }
|
||||
wasmtime = { path = "../wasmtime", default-features = false, version = "0.26.0" }
|
||||
@@ -23,3 +24,4 @@ anyhow = "1.0"
|
||||
[features]
|
||||
default = ["sync"]
|
||||
sync = ["wasi-cap-std-sync"]
|
||||
async = ["wasi-cap-std-async", "wasmtime/async", "wasmtime-wiggle/async"]
|
||||
|
||||
Reference in New Issue
Block a user