-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Rust 1.68.2 #2494
Upgrade to Rust 1.68.2 #2494
Conversation
Release notes say |
bba95bc
to
df9bc8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good if before merging someone with an android 4 device can give a try to this to be sure this works fine
b4975e1
to
9bdc057
Compare
Works for me on 64-bit ARM, so can be merged once @r10s or someone else (who has Android 4 around?) tests this on Android 4. By the way we will be able to use newer Rust with NDK r23c (the latest supporting Android 4) because Rust is going to stabilize |
To test the changes in this pull request, install this apk: |
So what does this mean for the MSRV of deltachat? Is this now bumped to 1.68 or still on 1.63? Where do we keep track of this? |
MSRV is tracked in the deltachat-core-rust CI, it is still at 1.63: The version used to build Android was decoupled from the core in #2440. |
i am currently building this and will try out on my android 4.4 (kitkat, api19) device - i do not have an android 4.1 (jellybean, api16) device, but iirc we got a donation at some point, should be at bb33 |
interim status: up to now, i did not manage to make this pr working on my old android device nor in any emulator :/ this is not necessarily related to this pr, idk yet. one always has all kind of issues when trying out old androids (battery, broken usb ports, android studio and emulator issues ...) - where i succeeded to transfer an apk, that crashes - however, one has to make sure that it does not crashes on master then otoh, i just installed #2493 on a nexusS with KitKat - and that works. but i am failing to connect this device now ... so, no green light yet - or did someone else manage to make this run on sth. before Lollipop? @flub @dignifiedquire @link2xt is rust1.68 important for the current iroh ongoings? otherwise i'd like to postpone the tests, they're very time consuming. |
no need from irohs side atm |
This can be postponed, not urgent at all, especially since iOS is blocking MSRV update too. |
9bdc057
to
ca62e29
Compare
To test the changes in this pull request, install this apk: |
ca62e29
to
85b4c8c
Compare
To test the changes in this pull request, install this apk: |
85b4c8c
to
27d7569
Compare
To test the changes in this pull request, install this apk: |
67164cc
to
30767c8
Compare
To test the changes in this pull request, install this apk: |
30767c8
to
80191c3
Compare
To test the changes in this pull request, install this apk: |
80191c3
to
2c91b1f
Compare
To test the changes in this pull request, install this apk: |
2c91b1f
to
014ea9d
Compare
To test the changes in this pull request, install this apk: |
014ea9d
to
376161c
Compare
To test the changes in this pull request, install this apk: |
@r10s This is tested on 32-bit androids so once you confirm that building with rust 1.68.2 works for you after running scripts/install-toolchains.sh, I think it can be merged. Then we will have nightly builds again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc building is not an issue, it was just that i could not verify nor falsify working on android4
i think, we can give it a try, ppl with android4 devices may complain in time, once we have nightlies again :)
Rust 1.68.0 targets NDK r25, so the workaround is no longer needed.
376161c
to
fa7812a
Compare
Runs on Android 11 32-bit powered by a Snapdragon 801 (32-bit processor) as reported by @gerryfrancis
It is reported that it does not build with NDK 21 by @adbenitez. Probably only r23 is supported now: rust-lang/rust#103673 Older than r23 does not have libunwind, and newer does not support Android API 16.