-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use the NDK version from
source.properties
.
Previously, `RustAndroidPlugin` would read the NDK version from `source.properties` in the NDK path, while `CargoBuildTask` would try to infer the NDK version from the pathname. Inferring the NDK version from the pathname would fail if the pathname didn't contain the version (e.g., Mach currently installs the NDK used to build Firefox for Android into `~/.mozbuild/android-ndk-r26c`), causing `Toolchain` to return the wrong path to `ar` for new NDK versions.
- Loading branch information
1 parent
109ce8a
commit e1e2f1f
Showing
2 changed files
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters