-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update rustc_index_macros
feature handling
#134526
base: master
Are you sure you want to change the base?
Conversation
It seems that cargo can't conditionally propagate features when `default-features` is set to `false`. Signed-off-by: onur-ozkan <[email protected]>
That is... weird. I'll take a look tmrw. |
What do you mean by this? |
This does not work. |
It does seem to work sometimes though? Only particular |
I couldn't see anything that could be related in bootstrap. |
Note that if this truly does not work you'll have to also change it here rust/compiler/rustc_abi/Cargo.toml Lines 13 to 32 in eca1702
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. |
It seems that cargo can't conditionally propagate features if they were enabled by default on the target crate, but disabled with
default-features = false
in the current/parent crate.Fixes #118129