From 2bf368e4c1b30474550968537dcaef602ab9b045 Mon Sep 17 00:00:00 2001 From: Sanaei Date: Sun, 29 Nov 2026 23:25:44 +0330 Subject: [PATCH] chore(ci): build the Windows release with the MSYS2 UCRT64 toolchain setup-msys2 now flags the MINGW64 environment as deprecated and warns on every Windows build. Move the job to UCRT64 and its matching mingw-w64-ucrt-x86_64 packages; the compiler triplet is the same, so CC is unchanged. The binary now links the Universal CRT instead of msvcrt.dll. UCRT ships with Windows 10 and later, which is already the floor the Go toolchain supports. --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82e130e75..2b4051a47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -239,13 +239,13 @@ jobs: - name: Install MSYS2 uses: msys2/setup-msys2@v2 with: - msystem: MINGW64 + msystem: UCRT64 update: true install: >- git - mingw-w64-x86_64-gcc - mingw-w64-x86_64-sqlite3 - mingw-w64-x86_64-pkg-config + mingw-w64-ucrt-x86_64-gcc + mingw-w64-ucrt-x86_64-sqlite3 + mingw-w64-ucrt-x86_64-pkg-config - name: Build 3X-UI for Windows (CGO) shell: msys2 {0}