

2·
1 month agoJust so you know I figured it out, re-read the post please.
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
This is embarrassing, but when was it not?
I have to add a “.” before the name of a css
class, I must learn my tools.
Shipping a 50 MiB game about a moving square would make me feel ashamed, regardless of language.
No my honor’s being tarnished noooo