Upto 90% for hellworld

5 points

So this is around 4MB less, right? The small app I’m currently working on is 15MB so with this change it will be 11MB. Nice but nothing revolutionary. It will have bigger impact on a really tiny apps. I guess that’s why it wasn’t resolved for so long.

permalink
report
reply
3 points

So debug builds now strip it by default as well?

permalink
report
reply
4 points

It’s also what I understood from what I read but I assume it was just a poor choice of word. Debug symbols are way too important for debugging to be stripped by default.

permalink
report
parent
reply
2 points

In fact, this new default will be used for any profile which does not enable debuginfo anywhere in its dependency chain, not just for the release profile.

On reflection I imagine the debug profile does enable this

permalink
report
parent
reply
2 points

Yeah, this make sence

permalink
report
parent
reply
1 point

I guess it may use external debug symbols and strip them from the binary by default.

Otherwise seems like a massive change haha

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 1

    Monthly active users

  • 398

    Posts

  • 396

    Comments