feat(runtime-c-api) Mirrors the debug and llvm features.

`wasmer-runtime` has a `debug` and a `llvm` features. Let's mirror
them in `wasmer-runtime-c-api` so that the user can, for instance,
compile with the LLVM backend.
This commit is contained in:
Ivan Enderlin 2019-03-19 11:12:19 +01:00
parent f402c320e2
commit 44373aae94

View File

@ -8,13 +8,23 @@ repository = "https://github.com/wasmerio/wasmer"
edition = "2018"
readme = "README.md"
[dependencies]
wasmer-runtime = { path = "../runtime", version = "0.2.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" }
libc = "0.2"
[lib]
crate-type = ["cdylib", "rlib", "staticlib"]
[dependencies]
libc = "0.2"
[dependencies.wasmer-runtime]
path = "../runtime"
version = "0.2.1"
[dependencies.wasmer-runtime-core]
path = "../runtime-core"
version = "0.2.1"
[features]
debug = ["wasmer-runtime/debug"]
llvm = ["wasmer-runtime/llvm"]
[build-dependencies]
cbindgen = "0.8"