Skip to content

Commit e461a3f

Browse files
authored
Rollup merge of rust-lang#134526 - onur-ozkan:nightly-feat-rustc, r=jieyouxu
update `rustc_index_macros` feature handling It seems that cargo can't [conditionally propagate features](https://github.com/rust-lang/rust/blob/214587c89d527dd0ccbe1f2150c737d3bdee67b0/compiler/rustc_index/Cargo.toml#L20) if they were enabled by default on the target crate, but disabled with `default-features = false` in the current/parent crate. Fixes rust-lang#118129
2 parents 3aedae2 + e151148 commit e461a3f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/rustc_index/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
rustc_index_macros = { path = "../rustc_index_macros", default-features = false }
8+
rustc_index_macros = { path = "../rustc_index_macros" }
99
rustc_macros = { path = "../rustc_macros", optional = true }
1010
rustc_serialize = { path = "../rustc_serialize", optional = true }
1111
smallvec = "1.8.1"

compiler/rustc_index_macros/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ proc-macro2 = "1"
1212
quote = "1"
1313

1414
[features]
15-
default = ["nightly"]
1615
nightly = []

0 commit comments

Comments
 (0)