Skip to content

Commit 747def8

Browse files
committed
Bump MSRV to 1.77 for more efficient bindgen output
1 parent ec624f2 commit 747def8

12 files changed

+8846
-22853
lines changed

.github/workflows/rust.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
run: cargo clippy --all --all-targets --all-features --target aarch64-linux-android -- -Dwarnings
2626

2727
check_ndk_sys_msrv:
28-
name: Check ndk-sys MSRV (1.60.0)
28+
name: Check ndk-sys MSRV (1.77.0)
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v4
3232

33-
- uses: dtolnay/rust-toolchain@1.60.0
33+
- uses: dtolnay/rust-toolchain@1.77.0
3434
with:
3535
target: aarch64-linux-android
3636

@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
minimal-versions: [true, false]
44-
name: Check overall MSRV (1.66.0)
44+
name: Check overall MSRV (1.77.0)
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v4
@@ -53,7 +53,7 @@ jobs:
5353
run: cargo +nightly generate-lockfile -Zminimal-versions
5454
if: ${{ matrix.minimal-versions }}
5555

56-
- uses: dtolnay/rust-toolchain@1.66.0
56+
- uses: dtolnay/rust-toolchain@1.77.0
5757
with:
5858
target: aarch64-linux-android
5959

ndk-sys/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22

33
- Regenerate bindings with `bindgen 0.71.1`. (#487)
4+
- **Breaking:** Bump MSRV to 1.77 for more efficient `bindgen` output. (#487)
45

56
# 0.6.0 (2024-04-26)
67

ndk-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "../README.md"
1010
documentation = "https://docs.rs/ndk-sys"
1111
homepage = "https://github.com/rust-mobile/ndk"
1212
repository = "https://github.com/rust-mobile/ndk"
13-
rust-version = "1.60"
13+
rust-version = "1.77"
1414
categories = ["os", "os::android-apis", "external-ffi-bindings"]
1515

1616
[dependencies]

ndk-sys/generate_bindings.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sysroot="$PWD/ndk/sysroot/"
2626

2727
while read ARCH && read TARGET ; do
2828
bindgen wrapper.h -o src/ffi_$ARCH.rs \
29-
--rust-target 1.60 \
29+
--rust-target 1.77 \
3030
--blocklist-item 'JNI\w+' \
3131
--blocklist-item 'C?_?JNIEnv' \
3232
--blocklist-item '_?JavaVM' \

0 commit comments

Comments
 (0)