-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Remove unused features #152469
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
base: main
Are you sure you want to change the base?
Remove unused features #152469
Conversation
|
Some changes occurred in exhaustiveness checking cc @Nadrieril Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer The Miri subtree was changed cc @rust-lang/miri |
|
rustbot has assigned @jdonszelmann. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Hi, thanks for your contribution! We should not remove these feature gates from tests. Features in tests sometimes test very subtle interactions and we don't want to break that. Also for tools and rustdoc we generally don't touch these directories unless strictly necessary; we're not running their whole test suite in CI so we could be removing a feature they actually use. I'm also of the opinion that replacing a feature with The rest looks good to me, that's some nice cleanups. |
|
@Nadrieril Make sense, I will keep the removal in compiler and replace the rest with just allowing |
Detected by #152164.
Only allow
unused_featuresif there are complex platform-specific features enabled.