Releases: rust-mobile/ndk
Releases · rust-mobile/ndk
ndk v0.5.0
- Breaking: Replace
add_fd_with_callback
ident
with 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-30
feature 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
libgcc
on 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
aapt
on 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
NativeWindow
andInputQueue
. 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_logger
andlog
from the crate root forndk-macro
to use. - Use new
FdEvents
bitflags
for looper file descriptor events. - Update to
ndk
0.4.0. This minor dependency bump causes a minor bump forndk-glue
too.
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_libs
function 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
ApkConfig
fieldapk_name
is now used for APK file naming, instead of the application label. - Renamed
cargo_apk
utility tocargo_ndk
.