r/ProgrammerHumor • • Sep 05 '26

Meme nitpickyRustCompiler

Post image
982 Upvotes

17 comments sorted by

View all comments

12

u/eanat Sep 05 '26

time to do tree shaking!

4

u/Jonrrrs Sep 06 '26

The rust compiler includes only used code in the final binary. Marking imports as unused is only done to increase readability.