Rollup merge of #97277 - jyn514:no-unstable-for-bootstrap, r=Mark-Simulacrum
Avoid accidentally enabling unstable features in compilers (take 2) 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.
This commit is contained in:
commit
b4c17d43a6
3 changed files with 12 additions and 1 deletions
|
@ -1192,7 +1192,6 @@ def bootstrap(help_triggered):
|
|||
env = os.environ.copy()
|
||||
env["BOOTSTRAP_PARENT_ID"] = str(os.getpid())
|
||||
env["BOOTSTRAP_PYTHON"] = sys.executable
|
||||
env["RUSTC_BOOTSTRAP"] = '1'
|
||||
if build.rustc_commit is not None:
|
||||
env["BOOTSTRAP_DOWNLOAD_RUSTC"] = '1'
|
||||
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue