File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : " Updating the Android NDK in Rust <version>"
4+ author : Android Platform Team
5+ description : " Modernizing Android support in Rust"
6+ ---
7+
8+ We are pleased to announce that Android platform support in Rust will be
9+ modernized in Rust <version > as we update the target NDK from r17 to r25. As a
10+ consequence the minimum supported API level will increase from 15 (Jelly Bean)
11+ to 19 (KitKat).
12+
13+ In NDK r23 Android switched to using LLVMs ` libunwind ` for all architectures.
14+ This meant that
15+ 1 . If a project were to target NDK r23 or newer with previous versions of Rust
16+ a workaround would be required to redirect attempts to link against ` libgcc `
17+ to instead link against ` libunwind ` . Following this update this workaround
18+ will no longer be necessary.
19+ 2 . If a project targets an NDK between r17 and r23 it will need to be updated to
20+ target r23 or newer.
21+
22+ Going forward the Android platform will target the most recent LTS NDK, allowing
23+ Rust developers to access platform features sooner.
24+
You can’t perform that action at this time.
0 commit comments