rust-lang / rust-lang/rustc-demangle
rustc-demangle does not allow encoding version in symbol name
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 319
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
The RFC 2603 says that
// The <decimal-number> specifies the encoding version.
<symbol-name> = "_R" [<decimal-number>] <path> [<instantiating-crate>]
But it seem that rustc-demangle forces an upper case letter after _R:
But I am not sure whether this issue belongs to RFC 2603 or rust-demangle.
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
Read the RFC 2603 mangled-name syntax, then inspect src/v0.rs at lines 56-59 to compare the parser's requirement after _R with the specification. Confirm the expected handling of a decimal encoding version and verify that existing demangling behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100