Upto 90% for hellworld

    • robinm@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 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.

      • OmnipotentEntity@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 months ago

        As mentioned in the article, this concerns release mode, which already does not have symbols by default for user code. It does have symbols for the standard library code, however, due to how the binaries for the standard library are shipped (i.e. with symbols only). This change simply also removes standard library symbols.

        If you need symbols, you can use default debugging build, or if you need both compiler optimizations and debugging symbols you can create a custom profile that inherets from release with debug = true. The second you already need to do to get full debugging symbols right now, so this isn’t really much of a change from a workflow standpoint.

      • Lmaydev@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        5 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