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
2626given target. There are typically other tools necessary to cross-compile,
2727particularly a linker. For example, to cross compile to Android the [ Android
2828NDK] 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.
3031
3132[ Android NDK ] : https://developer.android.com/tools/sdk/ndk/index.html
33+ [ target section ] : https://doc.rust-lang.org/cargo/reference/config.html#target
3234
3335To install a target for a toolchain that isn't the default toolchain use the
3436` --toolchain ` argument of ` rustup target add ` , like so:
You can’t perform that action at this time.
0 commit comments