Skip to content

Consider renaming debug to generate-symbols in profiles #2373

Open
@matklad

Description

@matklad

In profiles, one can use

debug = true # Controls whether the compiler passes -g

The name debug is confounding (at least for me):

  1. It says nothing about "symbols",
  2. It implies "slower code", which is false,
  3. It can be confused with "debug-assertions".

Obviously we can't just rename debug to generate-symbols, but we can add an alias and update docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuggingArea: debug builds and debugging generated codeA-profilesArea: profilesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-team-inputStatus: Needs input from team on whether/how to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions