about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-26 22:00:17 +0000
committerbors <bors@rust-lang.org>2023-03-26 22:00:17 +0000
commit1d5820784e442ec7e89474e2fa305440253ffaeb (patch)
tree6442185116c20e72057bbca44262e03b67cb038b
parentdb0cbc48d4aaa300713a95d9b317a365a474490c (diff)
parentdd7db8b1df8fd0f83580f421895c803419365450 (diff)
downloadrust-1d5820784e442ec7e89474e2fa305440253ffaeb.tar.gz
rust-1d5820784e442ec7e89474e2fa305440253ffaeb.zip
Auto merge of #109643 - nikic:fix-mingw, r=pietroalbini
Limit to one link job on mingw builders

This is another attempt to work around
https://github.com/rust-lang/rust/issues/108227.

By limiting to one link job, we should be able to avoid file name clashes in mkstemp().
-rwxr-xr-xsrc/ci/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index fc4ed57fb82..5f4e4a8e1b4 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -65,7 +65,7 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set dist.compression-profile=best"
 # This is an attempt to fix the spurious build error tracked by
 # https://github.com/rust-lang/rust/issues/108227.
 if isWindows && [[ ${CUSTOM_MINGW-0} -eq 1 ]]; then
-    RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=4"
+    RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=1"
 fi
 
 # Only produce xz tarballs on CI. gz tarballs will be generated by the release