johnthagen/min-sized-rust
View on GitHub ↗ ★ 9,871 Rust
🦀 How to minimize Rust binary size 📦 https://github.com/johnthagen/min-sized-rust
55 mentions on Hacker News by 48 people: 3 stories, 52 comments · first 2019-04-26 · latest 2026-10-21
20082026
-
▲ 149
Minimizing Rust Binary Sizestory by xanthine · 2020-06-12 · 46 comments
-
…pretty tiny rust binaries if you don’t link the std library though. Check this out for some tricks: https://github.com/johnthagen/min-sized-rust That blog post explains the vga buffer quite nicely so you should also be able to use the same…
comment by davidhyde · 2020-05-31 · in Bootable minesweeper game in a 512-byte boot sector -
…for size by default, there's a lot of easy ways to shrink binaries (like stripping symbols). https://github.com/johnthagen/min-sized-rust
comment by maccam94 · 2020-04-29 · in How we use Rust in our mobile SDK -
…should built with many smaller crates that are cached better and have fewer dependencies? Also: https://github.com/johnthagen/min-sized-rust
comment by ijiiijji1 · 2019-08-21 · in Thoughts on Rust bloat -
…where size matters, there are some articles about how to slim it down even more, here's an example: https://github.com/johnthagen/min-sized-rust
comment by bluejekyll · 2019-04-26 · in Futures Is Stable on Rust 1.36