-
Notifications
You must be signed in to change notification settings - Fork 71
document RUSTC_BOOTSTRAP in the unstable book #863
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
Comments
Important This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Concerns or objections can formally be registered here by adding a comment.
Concerns can be lifted with:
See documentation at https://forge.rust-lang.org |
sounds good, I agree that renaming is needlessly annoying |
…ieril document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book [rendered](https://github.com/jyn514/rust/blob/doc-rustc-bootstrap/src/doc/unstable-book/src/compiler-flags/rustc-bootstrap.md) mcp: rust-lang/compiler-team#863
Rollup merge of rust-lang#139885 - jyn514:doc-rustc-bootstrap, r=Nadrieril document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book [rendered](https://github.com/jyn514/rust/blob/doc-rustc-bootstrap/src/doc/unstable-book/src/compiler-flags/rustc-bootstrap.md) mcp: rust-lang/compiler-team#863
document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book [rendered](https://github.com/jyn514/rust/blob/doc-rustc-bootstrap/src/doc/unstable-book/src/compiler-flags/rustc-bootstrap.md) mcp: rust-lang/compiler-team#863
This was discussed in a compiler triage meeting, and this doesn't really need a MCP, so we're just going to close this as accepted. @rustbot label: +major-change-accepted |
document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book [rendered](https://github.com/jyn514/rust/blob/doc-rustc-bootstrap/src/doc/unstable-book/src/compiler-flags/rustc-bootstrap.md) mcp: rust-lang/compiler-team#863
Proposal
It is a simple fact that people outside the rust project are using RUSTC_BOOTSTRAP. Given that, we should make it more clear what it does.
I propose the following:
Document the variable in the unstable book so people know what it does, why it exists, and why we would really prefer them not to use it. Right now it spreads by word of mouth, and I do not think people know exactly what breakage they are opting into. document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book rust#139885
Document that libraries that use nightly features should use an explicit opt-in: Document that nightly features should be opt-in using aEDIT(jieyouxu): not compiler concern--cfg
flag api-guidelines#284change the name to RUSTC_ALLOW_UNSTABLE_ON_STABLE (name subject to bikeshedding) that has exactly the current semanticsgive a hard warning (i.e. not silence-able or deny-able) if people use RUSTC_BOOTSTRAPsimultaneously, change cargo and all related tooling to use the new name. the hard error for build scripts setting RUSTC_BOOTSTRAP will apply to both the old and new name.Mentors or Reviewers
@onur-ozkan, @bjorn3, @Mark-Simulacrum
Process
The main points of the Major Change Process are as follows:
@rustbot second
.-C flag
, then full team check-off is required.@rfcbot fcp merge
on either the MCP or the PR.You can read more about Major Change Proposals on forge.
The text was updated successfully, but these errors were encountered: