File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ Note that `rustup target add` only installs the Rust standard library for a
26
26
given target. There are typically other tools necessary to cross-compile,
27
27
particularly a linker. For example, to cross compile to Android the [ Android
28
28
NDK] must be installed. In the future, ` rustup ` will provide assistance
29
- installing the NDK components as well.
29
+ installing the NDK components as well. See the [ target section] of the
30
+ ` cargo ` configuration for how to setup a linker to use for a certain target.
30
31
31
32
[ Android NDK ] : https://developer.android.com/tools/sdk/ndk/index.html
33
+ [ target section ] : https://doc.rust-lang.org/cargo/reference/config.html#target
32
34
33
35
To install a target for a toolchain that isn't the default toolchain use the
34
36
` --toolchain ` argument of ` rustup target add ` , like so:
You can’t perform that action at this time.
0 commit comments