This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Description
So I am using a PinePhone, a 2GB linux phone, where I occasionally also do some dev stuff on the run which saves me a laptop. I usually don't really touch rust, or much of phone-specific libraries, which is why when I wanted to build the phone's graphical on-screen keyboard it seemed natural to do it on-device: the detailed reasons were that with that approach I don't need to figure out cross-compilers to ARM64, and I won't otherwise really touch much of this on-screen keyboard anyway so kinda keeping the super device specific on-device seemed cleaner to me.
However, building it I ran into a roadblock: https://source.puri.sm/Librem5/squeekboard/-/issues/243 it appears that building gtk-rs runs out of memory on 2GB device, which I think means compiling any basic GTK+ graphical app won't work there at all. That seems like a bit of a potential issue:

If this is ultimately a rustc optimization issue, I'd be happy to forward the ticket there. Also I hope I found the right bugtracker here for the rust gtk module, if not let me know and I'd be happy to reopen this ticket in the right place.