Skip to content

Commit

Permalink
change how rustup and rust is installed on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed May 15, 2024
1 parent 13f6236 commit 2d55277
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cross-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ jobs:

- name: Install Rust
run: |
choco install rust-ms
echo "C:\Program Files\Rust stable GNU\bin" >> $GITHUB_PATH
rustup target add aarch64-pc-windows-msvc
rustup target add x86_64-pc-windows-gnu
choco install rustup.install
rustup install stable
rustup update stable
rustup default stable
rustup target add ${{ matrix.target }}
- name: Build
run: |
Expand Down

0 comments on commit 2d55277

Please sign in to comment.