lib/wasm works with no_std

This commit is contained in:
Lachlan Sneff
2018-01-15 16:21:42 -05:00
committed by Dan Gohman
parent 299e8a9737
commit 66a150e67a
8 changed files with 58 additions and 0 deletions

View File

@@ -15,5 +15,17 @@ wasmparser = "0.14.1"
cretonne = { path = "../cretonne", version = "0.1.0" }
cretonne-frontend = { path = "../frontend", version = "0.1.0" }
[dependencies.hashmap_core]
version = "0.1.1"
optional = true
[dependencies.error_core]
version = "0.1.0"
optional = true
[dev-dependencies]
tempdir = "0.3.5"
[features]
# Currently, the only feature is the `no_std` feature.
# Enabling this disables use of `stdlib`.
no_std = ["hashmap_core", "error_core", "cretonne/no_std", "cretonne-frontend/no_std"]