-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Avoid accidentally enabling unstable features in compilers (take 2) #97277
Conversation
This allows rustbuild to control whether crates can use nightly features or not. It also prevents rustbuild from using nightly features itself.
Worked around that by passing |
This statically prevents issues like rust-lang#59264, where tools can only be built with the in-tree compiler and not beta.
@bors r+ rollup=iffy |
📌 Commit 751ad4a has been approved by |
Oops, I pushed 751ad4a right as you reviewed - do you want me to back that out for now? |
No, I saw it and it seems good to me. |
Rollup of 5 pull requests Successful merges: - rust-lang#97043 (Move some tests to more reasonable directories) - rust-lang#97206 (Do leak check after function pointer coercion) - rust-lang#97275 (small change) - rust-lang#97277 (Avoid accidentally enabling unstable features in compilers (take 2)) - rust-lang#97280 (Quote replace target in bootstrap configure) Failed merges: - rust-lang#97214 (Finish bumping stage0) r? `@ghost` `@rustbot` modify labels: rollup
This is a beta-only commit to avoid problems introduced by rust-lang#97277; we will want a more targeted patch that specifically re-enables this for a subset of the books (nomicon, unstable book, ...?) and testing via a stable-branch builder for tools, but that isn't worth backporting.
This allows rustbuild to control whether crates can use nightly features or not.
It also prevents rustbuild from using nightly features itself.
This is #92261, but I fixed the CI error.