-
Notifications
You must be signed in to change notification settings - Fork 87
Rust not compatible with ndk r23 #45
Comments
Although that may be a temporary fix, mixing and matching files from different ndk versions could lead to trouble. I'll wait until there's an official fix on the rust end of things which looks like they're getting close |
@Zackptg5 Fwiw we've "fixed" rust-mobile/ndk#149 through rust-mobile/ndk#189 so that you can use r23 together with |
Does this require nightly builds? I tried I've been using cargo-ndk package at this point with: Using nightly with -Zbuild-std works as previously discussed by others in the issues I'm not building apks but binaries such as quiche |
@Zackptg5 You can (ab)use In other words, this is a workaround specifically provided by |
@MarijnS95 And although it finished without errors, there's no lib present Read through the various issues some more and the termux method works well for my use case. Is SDK a requirement for cargo-apk even though I'm not actually building an apk? It errored out until I set sdk root path |
@Zackptg5 That's strange, it's how I have understood rust-mobile/ndk#151 (comment). Maybe
As said this is a hack that leverages |
@MarijnS95 |
Will use the termux workaround for now: d63f9fb (I'm happy to keep testing cargo apk method) |
NDK r23 removed libgcc which rust still uses. Work on switching it over is in progress but still not yet completed. See here for more details.
Keeping this open until fixed to keep track of it, will continue to use r21e until then
This keeps track of NDK compatibility in rust
Binaries/packages affected:
Exa
Quiche
The text was updated successfully, but these errors were encountered: