rust-lang / rust-lang/rustc-demangle

Allow taking an optional dependency on std to directly output to a String

Open
#20 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
319
Forks
69
PR merge metrics
No merged PRs in 30d

Description

It would be nice if it were possible to output to a String directly, rather than having to do a dance with format! and the Display impl. I assume the reason this is not currently possible is because this crate is no_std.

Contributor guide

No contributing guide indexed for this repository

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

Start by inspecting the crate's Display implementation and its no_std configuration. Determine how an optional std dependency could support direct output to a String, and consider the API and compatibility implications; done means callers can output directly without the format! and Display dance while no_std use remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.