bevy-website
bevy-website copied to clipboard
Investigate David Lattimore's compile speed tips
Article. Figure out which once work well, then update the advice to include them!
- [x] Faster linker: already done
- [ ] Don't link debug info
- [ ] Build a non-relocatable executable
I often do the strip = "debuginfo" thing unless actually debugging, if anything because it massively reduces artifact sizes, would advise. I'm going to try the non-PIC build, that should indeed be a huge boon. Another thing to consider is -Zbuild-std along with the panic handler changes mentioned.
The static link to musl may help some users, but various packages break in my environment, bevy_audio will not build here, didn't try further. I'd advise against the latter or a big caveat with it.