From befc6efd11d948c57dedb8efe0d1cb746b34d2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Wed, 12 Nov 2025 16:26:06 +0100 Subject: [PATCH 1/3] windows-gnu: update C toolchain --- src/ci/scripts/install-mingw.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ci/scripts/install-mingw.sh b/src/ci/scripts/install-mingw.sh index ed87628659b41..a73a2cefeb9f0 100755 --- a/src/ci/scripts/install-mingw.sh +++ b/src/ci/scripts/install-mingw.sh @@ -6,8 +6,9 @@ IFS=$'\n\t' source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" -MINGW_ARCHIVE_32="i686-14.1.0-release-posix-dwarf-msvcrt-rt_v12-rev0.7z" -MINGW_ARCHIVE_64="x86_64-14.1.0-release-posix-seh-msvcrt-rt_v12-rev0.7z" +MINGW_ARCHIVE_32="i686-14.2.0-release-posix-dwarf-msvcrt-rt_v12-rev2.7z" +MINGW_ARCHIVE_64="x86_64-14.2.0-release-posix-seh-msvcrt-rt_v12-rev2.7z" +TMP_URL="https://github.com/niXman/mingw-builds-binaries/releases/download/14.2.0-rt_v12-rev2/" if isWindows && isKnownToBeMingwBuild; then case "${CI_JOB_NAME}" in @@ -40,7 +41,7 @@ if isWindows && isKnownToBeMingwBuild; then mingw_dir="mingw${bits}" - curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}" + curl -o mingw.7z "${TMP_URL}/${mingw_archive}" 7z x -y mingw.7z > /dev/null ciCommandAddPath "$(cygpath -m "$(pwd)/${mingw_dir}/bin")" From d4824b983e4f07f6e4f626e2d998a244ee7b5d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Wed, 12 Nov 2025 16:29:24 +0100 Subject: [PATCH 2/3] try without reduced parallelism --- src/ci/run.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ci/run.sh b/src/ci/run.sh index b486f0525f40d..924d0ef68ef5d 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -73,14 +73,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. From 9c1c01ed450dd7aa411a029f4b857be5b8ba7b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Wed, 12 Nov 2025 17:22:01 +0100 Subject: [PATCH 3/3] follow redirects --- src/ci/scripts/install-mingw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/scripts/install-mingw.sh b/src/ci/scripts/install-mingw.sh index a73a2cefeb9f0..7f41c50df681b 100755 --- a/src/ci/scripts/install-mingw.sh +++ b/src/ci/scripts/install-mingw.sh @@ -41,7 +41,7 @@ if isWindows && isKnownToBeMingwBuild; then mingw_dir="mingw${bits}" - curl -o mingw.7z "${TMP_URL}/${mingw_archive}" + curl -Lo mingw.7z "${TMP_URL}/${mingw_archive}" 7z x -y mingw.7z > /dev/null ciCommandAddPath "$(cygpath -m "$(pwd)/${mingw_dir}/bin")"