Fix up nostd dependencies

This commit is contained in:
morenzg
2018-04-17 21:07:22 -04:00
parent a10a6a0df0
commit fdf34e9d3e
2 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ keywords = ["compile", "compiler", "jit"]
build = "build.rs"
[dependencies]
cretonne-entity = { path = "../entity", version = "0.5.0" }
cretonne-entity = { path = "../entity", version = "0.5.0", default-features = false }
# It is a goal of the cretonne-codegen crate to have minimal external dependencies.
# Please don't add any unless they are essential to the task of creating binary
# machine code. Integration tests that need external dependencies can be

View File

@@ -9,7 +9,7 @@ readme = "README.md"
keywords = ["webassembly", "wasm"]
[dependencies]
wasmparser = "0.15.1"
wasmparser = { git = "https://github.com/yurydelendik/wasmparser.rs", default_features = false }
cretonne-codegen = { path = "../codegen", version = "0.5.0", default_features = false }
cretonne-frontend = { path = "../frontend", version = "0.5.0", default_features = false }
@@ -22,8 +22,8 @@ tempdir = "0.3.5"
[features]
default = ["std"]
std = ["cretonne-codegen/std", "cretonne-frontend/std"]
core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core"]
std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std"]
core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core", "wasmparser/core"]
[badges]
maintenance = { status = "experimental" }