Update Rust toolchain version in CI workflows and add .rust-toolchain file

This commit is contained in:
mr. M
2025-03-29 23:40:37 +01:00
parent 41752dcac5
commit 7dc45bb438
5 changed files with 6 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ jobs:
- name: Fix Rust version
run: |
# Install a rust version compatible with LLVM 18
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(cat .rust-toolchain)
source $HOME/.cargo/env
if test "${{ matrix.arch }}" = "aarch64"; then