Update to target-lexicon 0.0.2.

This fixes compilation on rust 1.22.1.
This commit is contained in:
Dan Gohman
2018-06-12 06:36:07 -07:00
parent 1b55a2d005
commit a7813c4448
8 changed files with 16 additions and 25 deletions

View File

@@ -9,14 +9,14 @@ readme = "README.md"
[dependencies]
cretonne-codegen = { path = "../codegen", version = "0.9.0", default-features = false }
target-lexicon = { version = "0.0.1", default-features = false }
target-lexicon = { version = "0.0.2", default-features = false }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "3.1.0"
[features]
default = ["std"]
std = ["cretonne-codegen/std"]
std = ["cretonne-codegen/std", "target-lexicon/std"]
# when compiling with the "core" feature, nightly must be enabled
# enabling the "nightly" feature for raw-cpuid allows avoiding
# linking in a c-library.