Skip to content

Commit 5f0245c

Browse files
committed
Consistently unset RUSTC_BOOTSTRAP when compiling bootstrap
1 parent 1ead476 commit 5f0245c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/bootstrap.py

+2
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,8 @@ def build_bootstrap_cmd(self, env):
917917
if toml_val is not None:
918918
env["{}_{}".format(var_name, host_triple_sanitized)] = toml_val
919919

920+
env.pop("RUSTC_BOOTSTRAP", None)
921+
920922
# preserve existing RUSTFLAGS
921923
env.setdefault("RUSTFLAGS", "")
922924

0 commit comments

Comments
 (0)