Skip to content

-Zdebug-macros should either be the default or continue to be available on release-channel compiler #41743

Closed
@hsivonen

Description

@hsivonen

Firefox is built with release-channel Rust, and -Zdebug-macros is needed to get useful debuggability, crash/panic reporting and profiling attributability for Rust code in Firefox.

According to build-time output, the option is going to go away from the release-channel compiler. It seems that the option isn't on track to becoming the default, either.

If it's not made the default, please continue keeping the option (under some name) available to release-channel Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.F-collapse_debuginfo`#![feature(collapse_debuginfo)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions