Rust-GPU / Rust-GPU/rust-gpu

Revamp `debug_printf` format string parsing

Open
#168 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug rustlantis
Dominant language
Rust
Stars
3.4k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

It appears our debug_printf format string parsing has some issues (see https://github.com/Rust-GPU/rust-gpu/issues/51#issuecomment-2510259041 and other comments).

I'd like to outsource most parsing to uucore's format string parser, but that is blocked on https://github.com/uutils/coreutils/pull/6903 landing.

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

Start by reviewing the debug_printf format string parsing and the referenced issue comments to identify the current problems. Check uucore's format string parser and pull request 6903, which currently blocks the proposed approach. Done means the parsing issues are addressed using the available parser integration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.