From 1445c6cab456b41a9db71b1f3e9ca79c337873bf Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Mon, 27 Jun 2022 18:26:07 -0400 Subject: [PATCH] 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. --- src/bootstrap/bootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 3b2b507b06237..40d478a17ebc5 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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)