We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52618eb commit b92ad97Copy full SHA for b92ad97
src/bootstrap/bootstrap.py
@@ -1039,6 +1039,9 @@ def build_bootstrap_cmd(self, env):
1039
# See also: <https://github.com/rust-lang/rust/issues/70208>.
1040
if "CARGO_BUILD_TARGET" in env:
1041
del env["CARGO_BUILD_TARGET"]
1042
+ # if in CI, don't use incremental build when building bootstrap.
1043
+ if "GITHUB_ACTIONS" in env:
1044
+ env["CARGO_INCREMENTAL"] = "0"
1045
env["CARGO_TARGET_DIR"] = build_dir
1046
env["RUSTC"] = self.rustc()
1047
env["LD_LIBRARY_PATH"] = (
0 commit comments