add rust-toolchain.toml (#281)

This commit is contained in:
ᡠᠵᡠᡳ ᡠᠵᡠ ᠮᠠᠨᡩ᠋ᠠᠨ
2025-03-19 16:51:24 +08:00
committed by GitHub
parent 73d4e28ed0
commit 11e66328c4
2 changed files with 5 additions and 4 deletions

View File

@@ -97,10 +97,8 @@ jobs:
with:
distribution: 'oracle'
java-version: '17'
- name: Setup Rust
run: |
rustup update
rustup default 1.85.1
- name: Check rust-toolchain.toml
run: rustup show
- run: flutter pub get
- run: flutter build apk --release
- uses: actions/upload-artifact@v4

3
rust-toolchain.toml Normal file
View File

@@ -0,0 +1,3 @@
[toolchain]
channel = "1.85.1"
targets = ["aarch64-linux-android", "armv7-linux-androideabi", "x86_64-linux-android"]