File tree 1 file changed +45
-0
lines changed
src/doc/rustc/src/platform-support 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # * -linux-android and * -linux-androideabi
2
+
3
+ ** Tier: 2**
4
+
5
+ [ Android] is a mobile operating system built on top of the Linux kernel.
6
+
7
+ [ Android ] : https://source.android.com/
8
+
9
+ ## Target maintainers
10
+
11
+ - Chris Wailes ([ @chriswailes ] ( https://github.com/chriswailes ) )
12
+ - Matthew Maurer ([ @maurer ] ( https://github.com/maurer ) )
13
+ - Martin Geisler ([ @mgeisler ] ( https://github.com/mgeisler ) )
14
+
15
+ ## Requirements
16
+
17
+ This target is cross-compiled from a host environment. Development may be done
18
+ from the [ source tree] or using the Android NDK.
19
+
20
+ [ source tree ] : https://source.android.com/docs/setup/build/downloading
21
+
22
+ Android targets support std and generated binaries use the ELF file format.
23
+
24
+ ## NDK/API Update Policy
25
+
26
+ Rust will support the most recent Long Term Support (LTS) Android Native
27
+ Development Kit (NDK). By default Rust will support all API levels supported
28
+ by the NDK but a higher minimum API level may be required if deemed necessary.
29
+
30
+ ## Building the target
31
+
32
+ To build Rust binaries for Android you'll need a copy of the most recent LTS
33
+ edition of the [ Android NDK] . Supported Android targets are:
34
+
35
+ * aarch64-linux-android
36
+ * arm-linux-androideabi
37
+ * armv7-linux-androideabi
38
+ * i686-linux-android
39
+ * thumbv7neon-linux-androideabi
40
+ * x86_64-linux-android
41
+
42
+ [ Android NDK ] : https://developer.android.com/ndk/downloads
43
+
44
+ A list of all supported targets can be found
45
+ [ here] ( https://doc.rust-lang.org/rustc/platform-support.html )
You can’t perform that action at this time.
0 commit comments