Skip to content

Commit ec624f2

Browse files
authored
sys: Regenerate with bindgen 0.71.1 (#487)
This can now emit compile-time assertions rather than runtime `#[test]`s, but only if the `--rust-target` is set to `1.77` or higher. We leave it at 1.60 for now to not have to bump our MSRV too aggressively.
1 parent 97e9310 commit ec624f2

File tree

6 files changed

+4242
-18398
lines changed

6 files changed

+4242
-18398
lines changed

ndk-sys/CHANGELOG.md

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

3+
- Regenerate bindings with `bindgen 0.71.1`. (#487)
4+
35
# 0.6.0 (2024-04-26)
46

57
- Generate against upstream NDK build `11769913`. (#471)

ndk-sys/generate_bindings.sh

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +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 \
2930
--blocklist-item 'JNI\w+' \
3031
--blocklist-item 'C?_?JNIEnv' \
3132
--blocklist-item '_?JavaVM' \

0 commit comments

Comments
 (0)