Skip to content

Tracking issue for cleaning up core's and std's panic machinery #116005

Description

@m-ou-se

We can probably clean a bunch of things up in library/core/src/panic.rs, library/core/src/panicking.rs, library/core/src/panic/panic_info.rs, library/std/src/panic.rs and library/std/src/panicking.rs.

Here's an attempt of a sketch of the situation today:

diagram

(Edit: last diagram update: 2023-09-21)

(Note that a bunch of the complexity is the implementations of some of these functions, which is not visible in this diagram.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

A-panicArea: Panicking machineryC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-libsRelevant to the library 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