File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -268,9 +268,13 @@ cargo {
268
268
269
269
## Specifying NDK toolchains
270
270
271
- When ` prebuiltToolchains = false ` or for NDK versions before 19, the plugin looks for (and will
272
- generate) per-target architecture standalone NDK toolchains as generated by
273
- ` make_standalone_toolchain.py ` .
271
+ The plugin can either use prebuilt NDK toolchain binaries, or search for (and if missing, build)
272
+ NDK toolchains as generated by ` make_standalone_toolchain.py ` .
273
+
274
+ A prebuilt NDK toolchain will be used if:
275
+ 1 . ` rust.prebuiltToolchain=true ` in the per-(multi-)project ` ${rootDir}/local.properties `
276
+ 1 . ` prebuiltToolchain=true ` in the ` cargo { ... } ` block (if not overridden by ` local.properties ` )
277
+ 1 . The discovered NDK is version 19 or higher (if not overridden per above)
274
278
275
279
The toolchains are rooted in a single Android NDK toolchain directory. In order of preference, the
276
280
toolchain root directory is determined by:
You can’t perform that action at this time.
0 commit comments