Upto 90% for hellworld

    • robinm@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      9 months ago

      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.

      • Lmaydev@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        9 months ago

        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

      • Lmaydev@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

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

        Otherwise seems like a massive change haha

  • ExLisper@linux.community
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 months ago

    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.

  • seth@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    Quite an interesting writeup, going to go check out Rust now (I tell myself for the umpteenth time).