-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-codegenArea: Code generationArea: Code generationA-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Discovered while working on #60568.
The lists of failing tests are below, testing was done on x86_64-pc-windows-gnu
target.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationA-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
petrochenkov commentedon May 24, 2019
Tests failing with
debuginfo-level-tests = 2
:petrochenkov commentedon May 24, 2019
Tests failing with
debuginfo-level-tests = 1
:petrochenkov commentedon May 24, 2019
cc @michaelwoerister @nagisa
michaelwoerister commentedon May 24, 2019
Since debuginfo influences what LLVM IR the compiler generates, I'm not surprised. I think that codegen tests should not inherit any debuginfo settings from the environment.
davidtwco commentedon May 25, 2019
A data point: I was using
debuginfo-level-tests = 1
(or the previous equivalent) for a little while on a NixOS system and was experiencing a failure onrun-pass/issues/issue-29466.rs
. I posted about it on Zulip at the time.workingjubilee commentedon Jul 18, 2022
I am somewhat doubtful this is actionable for the codegen or assembly tests but it is probably worth examining for the non-codegen tests. Interesting, none of the mir-opt tests seem to have trouble anymore.
Failures for codegen +
debuginfo-level-tests = 1
Failures for assembly +
debuginfo-level-tests = {1,2}
Failures for incremental +
debuginfo-level-tests = {1,2}
Failures for ui +
debuginfo-level-tests = 1
Failures for codegen +
debuginfo-level-tests = 2
Failures for ui +
debuginfo-level-tests = 2
rust.debuginfo-level-tests
for codegen tests #144112Enselic commentedon Jul 18, 2025
As a first step, #144112 begins ignoring debuginfo-level-tests for codegen tests.
Rollup merge of rust-lang#144112 - Enselic:no-debuginfo-in-codegen, r…
Rollup merge of rust-lang#144112 - Enselic:no-debuginfo-in-codegen, r…
Rollup merge of rust-lang#144112 - Enselic:no-debuginfo-in-codegen, r…
Unrolled build for #144112
Rollup merge of #144112 - Enselic:no-debuginfo-in-codegen, r=Mark-Sim…
Rollup merge of #144112 - Enselic:no-debuginfo-in-codegen, r=Mark-Sim…
Rollup merge of rust-lang#144112 - Enselic:no-debuginfo-in-codegen, r…