Skip to content

Commit e151148

Browse files
committed
update rustc_index_macros feature handling
It seems that cargo can't conditionally propagate features when `default-features` is set to `false`. Signed-off-by: onur-ozkan <[email protected]>
1 parent 023521e commit e151148

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)