Wow, thanks everyone for the awesome tips! I tried `cargo-bloat` and it’s exactly what I needed for 'how do i find where .text coomes from in rust'. The breakdown is super clear, and I can see which crates are contributing to the .text section.
I also gave `readelf -S` a shot, and it’s super handy for getting a quick overview of the sections.
Quick follow-up though—anyone know if there’s a way to optimize the .text section size? Like, are there specific compiler flags or crates that help reduce it? Thanks again, y’all are the best! 🙌
I also gave `readelf -S` a shot, and it’s super handy for getting a quick overview of the sections.
Quick follow-up though—anyone know if there’s a way to optimize the .text section size? Like, are there specific compiler flags or crates that help reduce it? Thanks again, y’all are the best! 🙌
