Fix up nostd dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user