Skip to content

bootstrap: t macro supresses real line number #137557

Closed
@lolbinarycat

Description

@lolbinarycat

Summary

panics originating from the t macro will show ./src/bootstrap/src/utils/helpers.rs:38:23 in their backtrace, rather than the actual line number,

this is somewhat mitigated by it stringifying the argument expression, but could be further offset via use of the line! macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions