Skip to content

Commit

Permalink
ndk-sys: Regenerate against NDK r23 (#178)
Browse files Browse the repository at this point in the history
Android 12 reached platform stability today, including the first stable
release of NDK r23.
  • Loading branch information
MarijnS95 authored Aug 31, 2021
1 parent b5ed392 commit e8765fe
Show file tree
Hide file tree
Showing 6 changed files with 6,069 additions and 4,825 deletions.
2 changes: 2 additions & 0 deletions ndk-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- Regenerate against NDK r23 (#178)

# 0.2.1 (2020-10-15)

- Fix documentation build on docs.rs
Expand Down
2 changes: 1 addition & 1 deletion ndk-sys/generate_bindings.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

while read ARCH && read TARGET ; do
bindgen wrapper.h -o src/ffi_$ARCH.rs -- --sysroot="${NDK_HOME}"/sysroot --target=$TARGET
bindgen wrapper.h -o src/ffi_$ARCH.rs -- --sysroot="${ANDROID_NDK_ROOT}"/toolchains/llvm/prebuilt/linux-x86_64/sysroot/ --target=$TARGET
done << EOF
arm
arm-linux-androideabi
Expand Down
2,675 changes: 1,494 additions & 1,181 deletions ndk-sys/src/ffi_aarch64.rs

Large diffs are not rendered by default.

Loading

0 comments on commit e8765fe

Please sign in to comment.