Update rust_riscv_build.yml

toolchain setup
migrate
Vladislav Drozdov 2025-05-12 18:24:54 +03:00 committed by GitHub
parent 6e4a889a10
commit 38c9268db3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Cache dependencies
uses: actions/cache@v4
with:
@ -33,5 +33,8 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Set up riscv64gc toolchain
run: rustup target add riscv64gc-unknown-linux-gnu
- name: Build x86_64-unknown-linux-gnu
run: cargo riscv64 --verbose