rust-lang / rust-lang/rust

`-C split-debuginfo={off,packed,unpacked}` is (effectively) untested on windows-msvc and windows-gnu (well, windows generally)

Open
#135,531 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-debuginfo A-run-make A-testsuite C-bug E-hard O-windows-gnu O-windows-msvc T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

tests/run-make/split-debuginfo has this:

https://github.com/rust-lang/rust/blob/2776bdfe423c9fdfcd6313d678f0852ea26f1309/tests/run-make/split-debuginfo/Makefile#L34-L38

Which lumps windows-msvc and windows-gnu together, and also doesn't test anything on windows altogether.

Noticed while working on porting split-debuginfo to rmake.rs.

If this is tested somewhere else, well, it's clearly not in this run-make test.

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 tests/run-make/split-debuginfo/Makefile, especially lines 34-38, and inspect how the test is being ported to rmake.rs. Add coverage that distinguishes windows-msvc and windows-gnu rather than lumping them together, and ensure the split-debuginfo modes are exercised on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.