Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 3ff68bb

Browse files
committed
"std" builds need to enable the "std" feature in cranelift-codegen.
1 parent 64d5466 commit 3ff68bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cranelift-preopt/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ cranelift-entity = { path = "../cranelift-entity", version = "0.45.0" }
1818
# cranelift currently supports.
1919
# rustc_apfloat = { version = "0.1.2", default-features = false }
2020

21+
[features]
22+
default = ["std"]
23+
std = ["cranelift-codegen/std"]
24+
core = ["cranelift-codegen/core"]
25+
2126
[badges]
2227
maintenance = { status = "experimental" }
2328
travis-ci = { repository = "CraneStation/cranelift" }

0 commit comments

Comments
 (0)