We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33cb5e commit de8e67fCopy full SHA for de8e67f
doc/src/cross-compilation.md
@@ -30,6 +30,13 @@ installing the NDK components as well.
30
31
[Android NDK]: https://developer.android.com/tools/sdk/ndk/index.html
32
33
+To tell cargo which linker it should use for a specific target, you can add the
34
+following lines to `~/.cargo/config`:
35
+```console
36
+[target.armv7-unknown-linux-gnueabihf]
37
+linker = "arm-linux-gnueabihf-gcc-5.3.1"
38
+```
39
+
40
To install a target for a toolchain that isn't the default toolchain use the
41
`--toolchain` argument of `rustup target add`, like so:
42
0 commit comments