bootstrap: Remove bin_root from PATH

This commit is contained in:
Vadim Petrochenkov 2025-05-27 20:31:21 +03:00
parent 642e49bfed
commit 043b164b3b

View file

@ -1118,7 +1118,6 @@ class RustBuild(object):
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 = [