rust-lang / rust-lang/backtrace-rs
`Symbol` struct is not `Clone`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 628
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
It does not appear possible to use the raw backtrace functionality effectively, because the Symbol struct does not implement Clone, and the resolve_frame callback is passed a &Symbol reference which is not 'static. As a result, there's no way to store that symbol for later use.
Contributor guide
No contributing guide indexed for this repository
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
Start by reading the raw backtrace API around the Symbol struct and the resolve_frame callback, focusing on the lifetime limitation described in the issue. Done means a caller can retain a symbol for later use through a supported cloneable value, with coverage for that use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100