Fix fuzz and wasi-c builds (#447)

* Fix the wasmtime-wasi-c crate build and upgrade it to Rust 2018.

* Fix the fuzz build.
This commit is contained in:
Dan Gohman
2019-10-23 14:05:23 -07:00
committed by GitHub
parent 876d5e1075
commit a7fa6bdb31
7 changed files with 12 additions and 19 deletions

View File

@@ -27,7 +27,7 @@ wasmparser = { version = "0.39.2", default-features = false }
[features]
default = ["std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std", "wasmtime-debug/std", "wasmparser/std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std", "wasmtime-debug/std", "wasmtime-runtime/std", "wasmparser/std"]
core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core", "wasmtime-debug/core", "wasmparser/core"]
lightbeam = ["wasmtime-environ/lightbeam"]