Skip to content

Commit e5f840e

Browse files
committed
make sure we use cfg-if as a std dependency
1 parent bcc568f commit e5f840e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ crate-type = ["dylib", "rlib"]
1515

1616
[dependencies]
1717
alloc = { path = "../liballoc" }
18-
cfg-if = "0.1.8"
18+
cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] }
1919
panic_unwind = { path = "../libpanic_unwind", optional = true }
2020
panic_abort = { path = "../libpanic_abort" }
2121
core = { path = "../libcore" }

0 commit comments

Comments
 (0)