

Just so you know I figured it out, re-read the post please.


Yes that’s exactly what I want. The compiler should stop considering it accessible.


The compiler doesn’t consider it to be dead code since it’s marked pub.


Should I bring it up to the ‘min-sized-rust’ working group or the forums or something?


This really doesn’t seem to do the trick, the binary’s still at 63MiB.
Also "fat" and true are identical.
Edit: I’m not sure I replied to the right person, ignore this.


Yes, I am using both LTO and release mode, I can show you:
[profile.release]
opt-level = 3
codegen-units = 1
panic = "abort"
strip = true
lto = true
cargo build --release
If you only need it for the interface, a shit workaround would be to prefix all text with an RLM (RIGHT-TO-LEFT Mark).
Unfortunately no, I expect users to enter Arabic text as well.
Fast iteration is already fixed by using cranelift in your release-dev profile (or whatever you want to call it), and mold as a linker.
Maybe, I didn’t try that before, but I don’t expect Cranelift to match the speeds gtk-rs is currently giving me; Cranelift also doesn’t solve the problem of rust-analyzer acting crazy.
Okay, something helpful instead: Did you try asking in the
rust:gnome.orgmatrix room mentioned in the project page?
No, I prefer public posts to prevent effort duplication, so much so that my mind started filtering out such things on project pages, but thanks for reminding me.
Before anyone suggests another library:
Iced and Egui both can’t handle Arabic, which is a deal breaker.Iced takes forever to compile and iterate, maybe that’ll be fixed with dynamic linking.Relm: I didn’t know it existed before I started this project.Qt bindings: IDK I forgot Qt existed, I was always more of GNOME* guy.* GNU Network Object something Environment


I am going to finish the first fallout tommorow, even though I missed “the best dialogue in the entire game” according to someone on NMA.
Shipping a 50 MiB game about a moving square would make me feel ashamed, regardless of language.
No my honor’s being tarnished noooo