For 'how do i find where .text coomes from in rust', I’d suggest using `cargo build --release` and then `objdump -h your_binary`. This’ll list all sections, including .text, and you can see where it’s coming from.
Also, `cargo-bloat` is great for seeing which crates are bloating your .text section.
.text is just the executable code part of the binary. In Rust, it’s all your compiled functions and such. Hope that clears it up!
Also, `cargo-bloat` is great for seeing which crates are bloating your .text section.
.text is just the executable code part of the binary. In Rust, it’s all your compiled functions and such. Hope that clears it up!
