Most of the way to no_std support

This commit is contained in:
Lachlan Sneff
2018-01-15 14:05:38 -05:00
committed by Dan Gohman
parent 2a26b70854
commit 7375088c3e
42 changed files with 146 additions and 5 deletions

View File

@@ -17,3 +17,11 @@ name = "cretonne"
# 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
# accomodated in `tests`.
[dependencies.hashmap_core]
version = "0.1.1"
optional = true
[features]
# Currently, the only feature is the `no_std` feature.
# Enabling this disables use of `stdlib`.
no_std = ["hashmap_core"]