Skip to content

RUST_BACKTRACE=1 panic output still includes functions called by panic! #58554

Closed
@programmerjake

Description

@programmerjake

RUST_BACKTRACE=1 panic output still includes the functions called by the panic! macro. This was previously reported in #37783 but, in the merged fix, only the functions before main were removed. This makes it harder to determine which function the panic occurred in.

In filter_frames, skipped_before is always 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API 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