Switch from error_core to failure.

This commit is contained in:
Dan Gohman
2018-02-15 23:14:33 -08:00
parent e37f45667f
commit 6c9cf2bacf
11 changed files with 33 additions and 99 deletions

View File

@@ -17,19 +17,17 @@ 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`.
failure = { version = "0.1.1", default-features = false, features = ["derive"] }
failure_derive = { version = "0.1.1", default-features = false }
[dependencies.hashmap_core]
version = "0.1.1"
optional = true
[dependencies.error_core]
version = "0.1.0"
optional = true
[features]
# The "std" feature enables use of libstd. The "no_std" feature enables use
# of some minimal std-like replacement libraries. At least one of these two
# features to be enabled.
default = ["std"]
std = []
no_std = ["hashmap_core", "error_core"]
no_std = ["hashmap_core"]