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.

#linuxmobile #rust #crosscompile #musl #postmarketos

cc: @linmob, you told me you'd wanted to get pinged about this.

Show thread

@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.

Show thread

@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...🤷

@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.

@petrisch Curious, what's your mobile and home ISP, if you mind sharing?

@tobtobxx technically on the mobile side is not much left. ISP is a local one 😉

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml