Skip to content

Commit

Permalink
Auto merge of rust-lang#109643 - nikic:fix-mingw, r=pietroalbini
Browse files Browse the repository at this point in the history
Limit to one link 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().
  • Loading branch information
bors committed Mar 26, 2023
2 parents db0cbc4 + dd7db8b commit 1d58207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d58207

Please sign in to comment.