Skip to content

Commit dd7db8b

Browse files
committed
Limit to one job on mingw builders
This is another attempt to work around rust-lang#108227. By limiting to one link job, we should be able to avoid file name clashes in mkstemp().
1 parent db0cbc4 commit dd7db8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set dist.compression-profile=best"
6565
# This is an attempt to fix the spurious build error tracked by
6666
# https://github.com/rust-lang/rust/issues/108227.
6767
if isWindows && [[ ${CUSTOM_MINGW-0} -eq 1 ]]; then
68-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=4"
68+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=1"
6969
fi
7070

7171
# Only produce xz tarballs on CI. gz tarballs will be generated by the release

0 commit comments

Comments
 (0)