Skip to content

Commit

Permalink
Globally set RUSTC_BOOTSTRAP
Browse files Browse the repository at this point in the history
This is a beta-only commit to avoid problems introduced by #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.
  • Loading branch information
Mark-Simulacrum committed Jun 27, 2022
1 parent 0e383da commit 1445c6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ def bootstrap(help_triggered):
env = os.environ.copy()
env["BOOTSTRAP_PARENT_ID"] = str(os.getpid())
env["BOOTSTRAP_PYTHON"] = sys.executable
env["RUSTC_BOOTSTRAP"] = '1'
run(args, env=env, verbose=build.verbose, is_bootstrap=True)


Expand Down

0 comments on commit 1445c6c

Please sign in to comment.