lib/cretonne works with no_std

This commit is contained in:
Lachlan Sneff
2018-01-15 16:21:26 -05:00
committed by Dan Gohman
parent 7375088c3e
commit 299e8a9737
3 changed files with 8 additions and 5 deletions

View File

@@ -20,8 +20,11 @@ name = "cretonne"
[dependencies.hashmap_core]
version = "0.1.1"
optional = true
[dependencies.error_core]
version = "0.1.0"
optional = true
[features]
# Currently, the only feature is the `no_std` feature.
# Enabling this disables use of `stdlib`.
no_std = ["hashmap_core"]
no_std = ["hashmap_core", "error_core"]