rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.79k stars 434 forks source link

Also shim llvm-ar in the clang_android test on non-Windows #1016

Closed dpaoliello closed 5 months ago

dpaoliello commented 5 months ago

In CI we detect and use arm-linux-androideabi-ar but some folks locally are seeing the test use llvm-ar - this is likely a difference in dependencies on the system (e.g., Android NDK installed or not) so we'll shim both.

Fixes #1012

NobodyXu commented 5 months ago

@workingjubilee Can you please try this PR?

workingjubilee commented 5 months ago

Yep, passes on my machine.

NobodyXu commented 5 months ago

Thank you!