Work around Cargo #4866. (#699)

* Work around Cargo build #4866.

This fixes #697.

* Rename "cargo4866workaround" to "core" per review feedback.
This commit is contained in:
Dan Gohman
2019-03-26 11:28:39 -07:00
committed by GitHub
parent 1784060baf
commit 82c6867155
2 changed files with 21 additions and 4 deletions

View File

@@ -9,8 +9,14 @@ readme = "README.md"
edition = "2018"
[dependencies]
cranelift-entity = { path = "../../cranelift-entity", version = "0.30.0" }
cranelift-entity = { path = "../../cranelift-entity", version = "0.30.0", default-features = false }
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }
[features]
default = ["std"]
std = ["cranelift-entity/std"]
# The "core" feature enables a workaround for Cargo #4866.
core = ["cranelift-entity/core"]