diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-12-19 20:07:45 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-12-19 20:32:12 +0300 |
| commit | e151148a725fc65410ad72d88f7d720ea33c25f1 (patch) | |
| tree | c16dec69c8cb9b4a9f6b4b73180ddfe7e0533e7e | |
| parent | 023521e6825edfa6df01e392520d7cb120eab158 (diff) | |
| download | rust-e151148a725fc65410ad72d88f7d720ea33c25f1.tar.gz rust-e151148a725fc65410ad72d88f7d720ea33c25f1.zip | |
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 <work@onurozkan.dev>
| -rw-r--r-- | compiler/rustc_index/Cargo.toml | 2 | ||||
| -rw-r--r-- | compiler/rustc_index_macros/Cargo.toml | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_index/Cargo.toml b/compiler/rustc_index/Cargo.toml index 33e8e2824c7..f27db7a5400 100644 --- a/compiler/rustc_index/Cargo.toml +++ b/compiler/rustc_index/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] # tidy-alphabetical-start -rustc_index_macros = { path = "../rustc_index_macros", default-features = false } +rustc_index_macros = { path = "../rustc_index_macros" } rustc_macros = { path = "../rustc_macros", optional = true } rustc_serialize = { path = "../rustc_serialize", optional = true } smallvec = "1.8.1" diff --git a/compiler/rustc_index_macros/Cargo.toml b/compiler/rustc_index_macros/Cargo.toml index a7c2a1804dd..98bc1b6a29b 100644 --- a/compiler/rustc_index_macros/Cargo.toml +++ b/compiler/rustc_index_macros/Cargo.toml @@ -12,5 +12,4 @@ proc-macro2 = "1" quote = "1" [features] -default = ["nightly"] nightly = [] |
