From 043b164b3b64d5d1c8ec3ffd5bc594d1360ee464 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 27 May 2025 20:31:21 +0300 Subject: [PATCH] bootstrap: Remove `bin_root` from `PATH` --- src/bootstrap/bootstrap.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 42ad14a81d029..c60c6b8db6404 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -1118,7 +1118,6 @@ def build_bootstrap_cmd(self, env): if "RUSTFLAGS_BOOTSTRAP" in env: env["RUSTFLAGS"] += " " + env["RUSTFLAGS_BOOTSTRAP"] - env["PATH"] = os.path.join(self.bin_root(), "bin") + os.pathsep + env["PATH"] if not os.path.isfile(self.cargo()): raise Exception("no cargo executable found at `{}`".format(self.cargo())) args = [