Upto 90% for hellworld

  • @Lmaydev
    link
    2
    edit-2
    4 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.

    This is the sentence that tripped me up. But on rereading I’m assuming the debug profile does enable this.

    • @[email protected]
      link
      fedilink
      34 months ago

      Yeah, definitely :)

      The default dev profile is defined as:

      [profile.dev]
      opt-level = 0
      debug = true
      split-debuginfo = '...'  # Platform-specific.
      strip = "none"
      debug-assertions = true
      overflow-checks = true
      lto = false
      panic = 'unwind'
      incremental = true
      codegen-units = 256
      rpath = false
      

      You can find more information in the cargo book page on profiles

      • @Lmaydev
        link
        14 months ago

        I knew I had to be missing something. Thanks for the insight mate.