Pick the Arm64 rustup and Qt builds on Arm64 Windows

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-18 15:42:35 +08:00
1 parent 0356cf91f4
commit 361ecd977a
3 files changed
+29 -8

No files matched your search

+11 -2
View File
@@ -7,8 +7,17 @@ rem The default msvc toolchain needs the MSVC Build Tools (see 20-Install-MSVC-A
set "INSTALLER=%TEMP%\rustup-init.exe"
echo Downloading rustup-init...
curl.exe -L --fail -o "%INSTALLER%" https://win.rustup.rs/x86_64
rem PROCESSOR_ARCHITEW6432 holds the real architecture when this runs under emulation.
set "ARCH=%PROCESSOR_ARCHITECTURE%"
if defined PROCESSOR_ARCHITEW6432 set "ARCH=%PROCESSOR_ARCHITEW6432%"
if /i "%ARCH%"=="ARM64" (
set "RUSTUP_ARCH=aarch64"
) else (
set "RUSTUP_ARCH=x86_64"
)
echo Downloading rustup-init (%RUSTUP_ARCH%)...
curl.exe -L --fail -o "%INSTALLER%" https://win.rustup.rs/%RUSTUP_ARCH%
if errorlevel 1 (
echo Download failed.
pause