GTK 4 + Rust apps crash on ARMv7
All GTK 4 + Rust apps that I've tested (Amberol, Karlender) crash on launch on ARMv7 with the following error:
fungus:~$ amberol
thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute.', /home/buildozer/aports/community/amberol/src/cargo/registry/src/github.com-1285ae84e5963aae/gtk4-0.4.8/src/subclass/widget.rs:1305:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted
fungus:~$ karlender
[2022-09-05 11:54:29 ERROR gtk_rust_app] Warning: Could not find messages for locale "", text domain: Err(TranslationNotFound("")), TEXT_DOMAIN: Err(NotPresent)
thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute.', /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/gtk4-0.4.8/src/subclass/widget.rs:1305:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted
I've not reported this upstream yet as their template wants a minimal example that reproduces it and I've not got around to making one.