Skip to content

Commit

Permalink
Merge #280
Browse files Browse the repository at this point in the history
280: feat(runtime-c-api) Mirrors the `debug` and `llvm` features r=Hywan a=Hywan

`wasmer-runtime` has a `debug` and a `llvm` feature. Let's mirror
them in `wasmer-runtime-c-api` so that the user can, for instance,
compile with the LLVM backend.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
  • Loading branch information
bors[bot] and Hywan committed Mar 19, 2019
2 parents f402c32 + 44373aa commit 456f586
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions lib/runtime-c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,23 @@ repository = "https://github.com/wasmerio/wasmer"
edition = "2018"
readme = "README.md"

[lib]
crate-type = ["cdylib", "rlib", "staticlib"]

[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.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"

0 comments on commit 456f586

Please sign in to comment.