Skip to content

Commit 4eee8c3

Browse files
committed
CI/MSVC: downgrade Rust to 1.82 until cfg(test) is dealt with
See rust-lang/rust#129020
1 parent 81a2014 commit 4eee8c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/test-msvc.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if not exist %HOMEPATH%\.cargo\bin\cargo-cbuild.exe %HOMEPATH%\.cargo\bin\cargo
9696

9797
:: Enable workaround if latest stable Rust caused issues like #968.
9898
:: Update RUST_DOWNGRADE_VER below as well as required.
99-
@set DOWNGRADE_RUST_VERSION=0
99+
@set DOWNGRADE_RUST_VERSION=1
100100

101101
:: now build librsvg
102102
set PATH=%PATH%;%HOMEPATH%\.cargo\bin
@@ -108,7 +108,7 @@ cd msvc-build
108108
if exist %INST%\lib\libpcre2-8.a copy /b %INST%\lib\libpcre2-8.a %INST%\lib\pcre2-8.lib
109109

110110
if not "%DOWNGRADE_RUST_VERSION%" == "1" goto :normal_rust_build
111-
@set RUST_DOWNGRADE_VER=1.77.2
111+
@set RUST_DOWNGRADE_VER=1.82.0
112112
%HOMEPATH%\.cargo\bin\rustup install %RUST_DOWNGRADE_VER%-%RUST_HOST%
113113
meson setup .. --buildtype=release --prefix=%INST_PSX% --pkg-config-path=%INST%\lib\pkgconfig --cmake-prefix-path=%INST% -Dtriplet=%RUST_HOST% -Drustc-version=%RUST_DOWNGRADE_VER% || goto :error
114114
goto :continue_build

0 commit comments

Comments
 (0)