Skip to content

Commit 1445c6c

Browse files
Globally set RUSTC_BOOTSTRAP
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.
1 parent 0e383da commit 1445c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/bootstrap.py

+1
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ def bootstrap(help_triggered):
10671067
env = os.environ.copy()
10681068
env["BOOTSTRAP_PARENT_ID"] = str(os.getpid())
10691069
env["BOOTSTRAP_PYTHON"] = sys.executable
1070+
env["RUSTC_BOOTSTRAP"] = '1'
10701071
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
10711072

10721073

0 commit comments

Comments
 (0)