YESSSS, I sucessfully cross-compiled a rust gui application from Archlinux x86_64 to postmarketos aarch64 (pinephone) without emulation and thus quite acceptable performance!
I'll write up the process and publish a blog or sth. for other poor souls soon.
@linmob What host machine are you using? I'm using Arch x86_64. If you're too, then it's gonna be easy (there are 3 AUR packages you'd need to install). After that, it's just some magic flags you pass to cargo and it works just fine.
@tobtobxx I'm using Arch, too. :)
@linmob I wrote down the process here:
https://blog.tobtobxx.net/cross-compiling-rust-applications-to-postmarketos-on-the-pinephone
Tell me if you can't access it, I suck at selfhosting 😅
@tobtobxx
net::ERR_NAME_NOT_RESOLVED
😁
@petrisch Now THAT is an error I did not expect... Can you run `drill blog.tobtobxx.net` and `drill blog.tobtobxx.net AAAA`?
I'll try to get it on write.as then...🤷
@petrisch Ok, here's the blog on write.as: https://write.as/tobtobxx/cross-compiling-rust-applications-to-postmarketos-on-the-pinephone
Stupid server.
@tobtobxx i'm on my stupid android right now, so not gona try that here. But the blog post is very nice!
@petrisch Thx, it's actually about my first one lol.
Yeah, the server is IPv6 only. The Sunrise carrier doesn't provide IPv6 on mobile data. Idk about Swisscom, but probably neither.
@tobtobxx i have neither, but on wifi its the same.