Fix compilation of wasmtime-environ from within wasmtime-jit. (#201)

* Fix compilation of wasmtime-environ from within wasmtime-jit.

Enable wasmtime-environ/std when wasmtime-jit's std feature is enabled.

Fixes #200.

* Fix wasmtime-debug build too.
This commit is contained in:
Dan Gohman
2019-07-19 11:01:27 -07:00
committed by GitHub
parent c80508c8a9
commit 19e4f42d50
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ failure_derive = { version = "0.1.3", default-features = false }
[features]
default = ["std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std"]
core = ["cranelift-codegen/core", "cranelift-wasm/core"]
[badges]