From fddee4434e3858c755f14e2eabe379b07b5a830f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Wed, 17 Jun 2026 13:17:43 +0200 Subject: [PATCH] Remove old mingw-w64 workaround Before https://github.com/mingw-w64/mingw-w64/commit/dbfdf802580c0d6b90b91995dab019f2a7787a8e mkstemp used by Binutils was not sufficiently collision resilient and that led to CI errors for us. Our new baseline mingw-w64 toolchain's Binutils are built using mingw-w64 with the fix: https://github.com/niXman/mingw-builds/pull/682 So, we should be able to get rid of it. --- src/ci/run.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ci/run.sh b/src/ci/run.sh index 18b5bf2e2bbb3..a65063a36dd79 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -79,14 +79,6 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-units-std=1" # of our CPU resources. RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set dist.compression-profile=balanced" -# When building for mingw, limit the number of parallel linker jobs during -# the LLVM build, as not to run out of memory. -# This is an attempt to fix the spurious build error tracked by -# https://github.com/rust-lang/rust/issues/108227. -if isKnownToBeMingwBuild; then - 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 # process by recompressing the existing xz ones. This decreases the storage # space required for CI artifacts.