diff options
| author | binarycat <binarycat@envs.net> | 2025-09-14 18:26:29 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-09-14 18:26:29 -0500 |
| commit | b92ad97f1d8d458de880daea3826d8db30717a0e (patch) | |
| tree | 72fb85227b19934817dc2ab3fd782bfbe7a80781 /src | |
| parent | 52618eb338609df44978b0ca4451ab7941fd1c7a (diff) | |
| download | rust-b92ad97f1d8d458de880daea3826d8db30717a0e.tar.gz rust-b92ad97f1d8d458de880daea3826d8db30717a0e.zip | |
bootstrap.py: disable incremental build for bootstrap in CI
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 2ece53eb0cc..e017cfe6aef 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -1039,6 +1039,9 @@ class RustBuild(object): # See also: <https://github.com/rust-lang/rust/issues/70208>. if "CARGO_BUILD_TARGET" in env: del env["CARGO_BUILD_TARGET"] + # if in CI, don't use incremental build when building bootstrap. + if "GITHUB_ACTIONS" in env: + env["CARGO_INCREMENTAL"] = "0" env["CARGO_TARGET_DIR"] = build_dir env["RUSTC"] = self.rustc() env["LD_LIBRARY_PATH"] = ( |
