Bump MSRV to 1.85.0 (will be required by jni 0.22)

This re-generates the FFI bindings with `--rust-target '1.85.0'`
This commit is contained in:
Robert Bragg
2026-01-11 19:37:54 +00:00
parent 7e8990fd92
commit 25f4220fef
8 changed files with 6234 additions and 14534 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ name: ci
on:
push:
branches: '*'
branches: "*"
pull_request:
env:
@@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
# See top README for MSRV policy
rust-version: [1.73.0, stable]
rust-version: [1.85.0, stable]
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The `ndk` and `ndk-sys` crates are now re-exported under `android_activity::ndk` and `android_activity::ndk_sys` ([#194](https://github.com/rust-mobile/android-activity/pull/194))
### Changed
- rust-version bumped to 1.73.0 ([#193](https://github.com/rust-mobile/android-activity/pull/193))
- rust-version bumped to 1.85.0 ([#193](https://github.com/rust-mobile/android-activity/pull/193), [#219](https://github.com/rust-mobile/android-activity/pull/219))
- GameActivity updated to 4.0.0 (requires the corresponding 4.0.0 `.aar` release from Google) ([#191](https://github.com/rust-mobile/android-activity/pull/191))
## [0.6.0] - 2024-04-26
+2 -10
View File
@@ -9,17 +9,9 @@ repository = "https://github.com/rust-mobile/android-activity"
documentation = "https://docs.rs/android-activity"
description = "Glue for building Rust applications on Android with NativeActivity or GameActivity"
license = "MIT OR Apache-2.0"
include = [
"/build.rs",
"/android-games-sdk",
"/LICENSE*",
"/src",
]
include = ["/build.rs", "/android-games-sdk", "/LICENSE*", "/src"]
# Even though we could technically still build with 1.69, 1.73 has a fix for the
# definition of the `stat` struct on Android, and so it seems worthwhile drawing
# a line under that to ensure android-activity applications have that fix.
rust-version = "1.73.0"
rust-version = "1.85.0"
[features]
# Note: we don't enable any backend by default since features
+1 -1
View File
@@ -15,7 +15,7 @@ while read ARCH && read TARGET ; do
# --module-raw-line 'use '
bindgen game-activity-ffi.h -o src/game_activity/ffi_$ARCH.rs \
--rust-target '1.73.0' \
--rust-target '1.85.0' \
--blocklist-item 'JNI\w+' \
--blocklist-item 'C?_?JNIEnv' \
--blocklist-item '_?JavaVM' \
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff