Rust 1.69

This commit is contained in:
Luke Parker 2024-05-26 03:07:52 -04:00 committed by j-berman
parent 866473675c
commit 170324ae68
2 changed files with 4 additions and 1 deletions

View File

@ -74,6 +74,8 @@ jobs:
curl -O https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-protobuf-c-1.4.1-1-any.pkg.tar.zst
curl -O https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-protobuf-21.9-1-any.pkg.tar.zst
pacman --noconfirm -U mingw-w64-x86_64-protobuf-c-1.4.1-1-any.pkg.tar.zst mingw-w64-x86_64-protobuf-21.9-1-any.pkg.tar.zst
# Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368
pacman -Syu --needed mingw-w64-x86_64-gcc --noconfirm
- name: build
run: |
${{env.CCACHE_SETTINGS}}

View File

@ -109,7 +109,8 @@ jobs:
- name: install rust target
# We can't use the latest Rust due to LLVM 17 not working with old `ld`s (such as in Ubuntu 20.04) for RISC-V
# We could update ld (a pain), update Ubuntu (requires a large amount of changes), or downgrade Rust
run: rustup toolchain install 1.72; rustup default 1.72; rustup target add ${{ matrix.toolchain.rust_host }}
# We can't use Rust 1.70 due to LLVM 16 requiring ld >= 2.40 when building for Windows
run: rustup toolchain install 1.69; rustup default 1.69; rustup target add ${{ matrix.toolchain.rust_host }}
- name: prepare w64-mingw32
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' || matrix.toolchain.host == 'i686-w64-mingw32' }}
run: |