Skip to content

Commit

Permalink
pin rust version (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanNano authored Dec 7, 2023
1 parent 3ed6cc5 commit 7be2ac5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
if: contains(matrix.os, 'windows')
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
- name: Add Build target
run: rustup target add ${{ env.TARGET_TRIPLET }}
run: |
cd native/
rustup target add ${{ env.TARGET_TRIPLET }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: ./native/
Expand Down
5 changes: 5 additions & 0 deletions native/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
channel = "1.72.0"
components = [ "rustfmt", "clippy" ]
profile = "default"

0 comments on commit 7be2ac5

Please sign in to comment.