update rustc_index_macros
feature handling by onur-ozkan · Pull Request #134526 · rust-lang/rust (original) (raw)
Note that if this truly does not work you'll have to also change it here
rustc_index = { path = "../rustc_index", default-features = false } |
---|
rustc_macros = { path = "../rustc_macros", optional = true } |
rustc_serialize = { path = "../rustc_serialize", optional = true } |
rustc_span = { path = "../rustc_span", optional = true } |
tracing = "0.1" |
# tidy-alphabetical-end |
[features] |
# tidy-alphabetical-start |
default = ["nightly", "randomize"] |
# rust-analyzer depends on this crate and we therefore require it to built on a stable toolchain |
# without depending on rustc_data_structures, rustc_macros and rustc_serialize |
nightly = [ |
"dep:rustc_data_structures", |
"dep:rustc_feature", |
"dep:rustc_macros", |
"dep:rustc_serialize", |
"dep:rustc_span", |
"rustc_index/nightly", |
] |
and in the dozen other places where we do the same thing.
I think the first step would be to reproduce this in a minimal example and file a cargo issue, if this is really the problem.