Fix up nostd dependencies
This commit is contained in:
@@ -11,7 +11,7 @@ keywords = ["compile", "compiler", "jit"]
|
|||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[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.
|
# 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
|
# 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
|
# machine code. Integration tests that need external dependencies can be
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ readme = "README.md"
|
|||||||
keywords = ["webassembly", "wasm"]
|
keywords = ["webassembly", "wasm"]
|
||||||
|
|
||||||
[dependencies]
|
[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-codegen = { path = "../codegen", version = "0.5.0", default_features = false }
|
||||||
cretonne-frontend = { path = "../frontend", 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]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = ["cretonne-codegen/std", "cretonne-frontend/std"]
|
std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std"]
|
||||||
core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core"]
|
core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core", "wasmparser/core"]
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "experimental" }
|
maintenance = { status = "experimental" }
|
||||||
|
|||||||
Reference in New Issue
Block a user