Enable wasi-common by default (#177)
This removes the --wasi-common, as it's now on by default, and adds a --wasi-c option to enable the wasi-c implementation.
This commit is contained in:
committed by
Till Schneidereit
parent
d900a5f6ef
commit
c0ba4753eb
@@ -31,6 +31,7 @@ wasmtime-jit = { path = "wasmtime-jit" }
|
||||
wasmtime-obj = { path = "wasmtime-obj" }
|
||||
wasmtime-wast = { path = "wasmtime-wast" }
|
||||
wasmtime-wasi = { path = "wasmtime-wasi" }
|
||||
wasmtime-wasi-c = { path = "wasmtime-wasi-c", optional = true }
|
||||
wasi-common = { git = "https://github.com/CraneStation/wasi-common" }
|
||||
docopt = "1.0.1"
|
||||
serde = "1.0.75"
|
||||
@@ -43,10 +44,8 @@ wabt = "0.7"
|
||||
libc = "0.2.50"
|
||||
errno = "0.2.4"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
wasmtime-wasi-c = { path = "wasmtime-wasi-c" }
|
||||
|
||||
[workspace]
|
||||
|
||||
[features]
|
||||
lightbeam = ["wasmtime-environ/lightbeam", "wasmtime-jit/lightbeam"]
|
||||
wasi-c = ["wasmtime-wasi-c"]
|
||||
|
||||
Reference in New Issue
Block a user