Represent macros as inline functions in debug information
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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