rust-lang / rust-lang/rust

Represent macros as inline functions in debug information

Open
#150,827 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-backtrace A-debuginfo A-macros C-discussion C-feature-request needs-triage
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

This would allow proper backtraces through macros like Swift has. See https://www.youtube.com/watch?v=WOkoAHTbsbM&t=452s for an intro for how it's done in Swift.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by reviewing the issue description and the linked Swift presentation to understand inline-function debug information for macros. Done means macros can produce proper backtraces through debug information, as described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.