rust-lang / rust-lang/rust

Running `./x test tests/debuginfo` triggers recompiles for debugger visualizer script changes

Open
#133,692 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-debuginfo A-testsuite C-bug T-bootstrap
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

After making changes to src\etc\lldb_commands, re-running the debuginfo tests triggers a 10-15 minute compile to, in effect, replace 1 file that's read and executed at runtime.

Might also be worth adding a CI rule to allow for using everything prebuilt and just replacing the debugger visualizer files to speed things up. That would be especially helpful since running the debuginfo test suite locally is somewhat broken.

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 with ./x test tests/debuginfo and the src\etc\lldb_commands files to trace why visualizer script changes trigger recompilation. Check how prebuilt artifacts and CI setup are handled, with the goal that changing these runtime-read files reruns the tests without a 10–15 minute compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, testing-qa
Issue type
Bug
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.