Releases: rust-mobile/ndk
Releases · rust-mobile/ndk
ndk v0.5.0
- Breaking: Replace
add_fd_with_callbackidentwith constant valueALOOPER_POLL_CALLBACK,
as per https://developer.android.com/ndk/reference/group/looper#alooper_addfd. - Breaking: Accept unboxed closure in
add_fd_with_callback. - aaudio: Replace "Added in" comments with missing
#[cfg(feature)]. - aaudio: Add missing
fn get_allowed_capture_policy(). - configuration: Add missing
api-level-30feature tofn screen_round().
cargo-apk v0.8.2
- Fixed the library name in case of multiple build artifacts in the Android manifest.
- Work around missing
libgccon NDK r23 beta 3 and above, by providing linker script that "redirects" tolibunwind.
See #149 and rust-lang/rust#85806 for more details.
ndk-build v0.4.2
- Pass UNIX path separators to
aapton non-UNIX systems, ensuring the resulting separator is compatible with the target device instead of the host platform.
cargo-apk v0.8.1
- Updated to use ndk-build 0.4.2
ndk-glue v0.4.0
- Looper is now created before returning from
ANativeActivity_onCreate, solving race conditions inonInputQueueCreated. - Event pipe and looper are now notified of removal before destroying
NativeWindowandInputQueue. This allows applications to unlock their read-locks of these instances first (which they are supposed to hold on to during use) instead of deadlocking in
Android callbacks. - Reexport
android_loggerandlogfrom the crate root forndk-macroto use. - Use new
FdEventsbitflagsfor looper file descriptor events. - Update to
ndk0.4.0. This minor dependency bump causes a minor bump forndk-gluetoo.
ndk-build v0.4.1
- Only the highest platform supported by the NDK is now selected as default platform.
ndk v0.4.0
- Breaking: Model looper file descriptor events integer as
bitflags.
ndk-build v0.4.0
- Added
add_runtime_libsfunction for including extra dynamic libraries in the APK.
cargo-apk v0.8.0
- Added runtime_libs path to android metadata for packaging extra dynamic libraries into the apk.
ndk-build v0.3.0
- New
ApkConfigfieldapk_nameis now used for APK file naming, instead of the application label. - Renamed
cargo_apkutility tocargo_ndk.