File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,18 @@ This cargo extension handles all the environment configuration needed for succes
3333
3434## Installing
3535
36+ You'll first need to install all the toolchains you intend to use. Simplest way is with the following:
37+
38+ ```
39+ rustup target add \
40+ aarch64-linux-android \
41+ armv7-linux-androideabi \
42+ x86_64-linux-android \
43+ i686-linux-android
44+ ```
45+
46+ Modify as necessary for your use case.
47+
3648### With ` cargo binstall `
3749
3850To eliminate time wasted building ` cargo-ndk ` in your CI pipelines, you can use [ ` cargo-binstall ` ] ( https://github.com/cargo-bins/cargo-binstall ) :
@@ -47,18 +59,6 @@ cargo binstall cargo-ndk
4759cargo install cargo-ndk
4860```
4961
50- You'll also need to install all the toolchains you intend to use. Simplest way is with the following:
51-
52- ```
53- rustup target add \
54- aarch64-linux-android \
55- armv7-linux-androideabi \
56- x86_64-linux-android \
57- i686-linux-android
58- ```
59-
60- Modify as necessary for your use case.
61-
6262## Examples
6363
6464### Building a library for 32-bit and 64-bit ARM systems
You can’t perform that action at this time.
0 commit comments