File tree 4 files changed +3
-7
lines changed
4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 17
17
fail-fast : false
18
18
matrix :
19
19
# See top README for MSRV policy
20
- rust_version : [1.64 .0, stable]
20
+ rust_version : [1.68 .0, stable]
21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
34
34
i686-linux-android
35
35
36
36
- name : Install cargo-ndk
37
- # We're currently sticking with cargo-ndk 2, until we bump our
38
- # MSRV to 1.68+
39
- run : cargo install cargo-ndk --version "^2"
37
+ run : cargo install cargo-ndk
40
38
41
39
- name : Setup Java
42
40
uses : actions/setup-java@v3
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ repository = "https://github.com/rust-mobile/android-activity"
9
9
documentation = " https://docs.rs/android-activity"
10
10
description = " Glue for building Rust applications on Android with NativeActivity or GameActivity"
11
11
license = " MIT OR Apache-2.0"
12
- rust-version = " 1.64 "
12
+ rust-version = " 1.68.0 "
13
13
14
14
[features ]
15
15
# Note: we don't enable any backend by default since features
Original file line number Diff line number Diff line change @@ -759,7 +759,6 @@ extern "Rust" {
759
759
// `app_main` function. This is run on a dedicated thread spawned
760
760
// by android_native_app_glue.
761
761
#[ no_mangle]
762
- #[ allow( unused_unsafe) ] // Otherwise rust 1.64 moans about using unsafe{} in unsafe functions
763
762
pub unsafe extern "C" fn _rust_glue_entry ( native_app : * mut ffi:: android_app ) {
764
763
abort_on_panic ( || {
765
764
// Maybe make this stdout/stderr redirection an optional / opt-in feature?...
Original file line number Diff line number Diff line change @@ -828,7 +828,6 @@ unsafe extern "C" fn on_content_rect_changed(
828
828
829
829
/// This is the native entrypoint for our cdylib library that `ANativeActivity` will look for via `dlsym`
830
830
#[ no_mangle]
831
- #[ allow( unused_unsafe) ] // Otherwise rust 1.64 moans about using unsafe{} in unsafe functions
832
831
extern "C" fn ANativeActivity_onCreate (
833
832
activity : * mut ndk_sys:: ANativeActivity ,
834
833
saved_state : * const libc:: c_void ,
You can’t perform that action at this time.
0 commit comments