-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to compile on ios and android after update to 0.2 #9
Comments
maybe i did sth. wrong ianar (i am not a rust-expert :) if some additional information are needed, please just ping me :) |
Thanks for a bug report! It was not really clarified what targets are supported for
From what I understand, Android build targets Android 4.3 Jelly Bean (API 18) on a |
hi @svartalf thanks for your help! on android we use on ios, rust compiling fails with the error shown above, the used targets are ´aarch64-apple-ios´ and ´x86_64-apple-ios´ - at least this is what xcode claims. |
Yes, |
Alright, here goes the follow-up: For iOS we could extend the following check to include the ios targets also: Lines 42 to 46 in b7b4fae
same as nix crate does, that should handle the issue.
As for Android, I see that @r10s, any thoughts about it? |
Okay, ce41122 should handle the iOS issue and 72fc33f hides @dignifiedquire @r10s can you test it? Following patch section in the Cargo manifest should properly override the dependency: [patch.crates-io]
hostname = { git = "https://github.com/svartalf/hostname.git", branch = "ios" } |
@svartalf thanks, that looks good! and incredibly quick, thanks a lot. unfortunately, my rust-cargo-skills are not sufficient to try this out easily, the hostname dependency is not used directly by deltachat. i tried putting the patch to all Cargo.tomls i could find, but for some reasons xcode did not picked it up. maybe we do a pr on deltachat that reverts the change to 0.1.5 we've just done for now to get things out. |
Compiled it successfully for ios (I don't have android setup) |
@dignifiedquire thanks a lot for testing! |
Quick follow-up: how does the testing going on? Had you any chance to test it both for iOS and Android? |
So, I hide the @hpk42, @dignifiedquire, can we test your case once again with the |
sorry, i did not came back to this sooner. not sure if we're back on the hostname-origin-crate, however. but if so, we will see if things work :) thanks a lot for helping :) |
Details:
worked fine with
0.1. 5
The text was updated successfully, but these errors were encountered: