mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-04 05:47:26 +00:00
Bump MSRV to 1.68
- Lets us build with cargo ndk 3+ - Lets us remove suppression for false-negative clippy warning about unsafe blocks in unsafe functions - 1.68.0 notably also builds the standard library with a newer r25 NDK toolchain which avoid the need for awkward libgcc workarounds, so it's anyway a desirable baseline for Android projects.
This commit is contained in:
@@ -16,9 +16,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# XXX: We are currently constrained by Winit's MSRV policy + CI system
|
||||
# See Cargo.toml for details
|
||||
rust_version: [1.64.0, stable]
|
||||
# See top README for MSRV policy
|
||||
rust_version: [1.68.0, stable]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -35,10 +34,7 @@ jobs:
|
||||
i686-linux-android
|
||||
|
||||
- name: Install cargo-ndk
|
||||
# XXX: We have to use an old version of cargo-ndk that supports the
|
||||
# libgcc linker workaround for rust < 1.68 because Winit's CI system
|
||||
# currently requires this crate to be buildable with 1.64
|
||||
run: cargo install cargo-ndk --version "^2"
|
||||
run: cargo install cargo-ndk
|
||||
|
||||
- name: Build game-activity
|
||||
working-directory: android-activity
|
||||
|
||||
Reference in New Issue
Block a user