Closed ncalexan closed 2 months ago
@linabutler I fixed the tests and rebased this PR against the fixes. If it's green, I think it probably makes sense to land it, we'll find out tomorrow.
Thank you so much for fixing up the tests, @ncalexan; it's nice to see another green run! 🏆
I know you've been putting out other fires this week, so there's no hurry to get this landed. Whenever you have time, though, would you mind cutting a release with these changes, please?
I don't know much at all about how dependencies work in the JVM world (artifacts? repositories? tags? tooling?), and it would be great to see how you do it, so that I and other Application Services folks know how to do it next time 😊
Previously,
RustAndroidPlugin
would read the NDK version fromsource.properties
in the NDK path, whileCargoBuildTask
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
), causingToolchain
to return the wrong path toar
for new NDK versions.