"std" builds need to enable the "std" feature in cranelift-codegen.

This commit is contained in:
Dan Gohman
2019-10-09 06:28:47 -07:00
parent ece9450a2f
commit c6ed6b7247

View File

@@ -18,6 +18,11 @@ cranelift-entity = { path = "../cranelift-entity", version = "0.45.0" }
# cranelift currently supports.
# rustc_apfloat = { version = "0.1.2", default-features = false }
[features]
default = ["std"]
std = ["cranelift-codegen/std"]
core = ["cranelift-codegen/core"]
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }