Cross-compiling fails on MacOS
Closed this issue · 0 comments
madztheo commented
Cross-compiling the Rust code with the Android targets is rather difficult. On the Rust Lang forum, a similar issue has been raised here. OpenSSL crate seems to be the main culprit in this post as well as on this project with noir_java
I've tried adding this line
openssl = { version = "0.10", features = ["vendored"] }
to the Cargo.toml
dependencies, but while the error was different it still fails to compile with any Android target
A list of the possible targets to support can be find here: https://github.com/mozilla/rust-android-gradle?tab=readme-ov-file#usage