You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 on run-pass/issues/issue-29466.rs. I posted about it on Zulip at the time.
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.
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 = 1Failures for assembly +
debuginfo-level-tests = {1,2}Failures for incremental +
debuginfo-level-tests = {1,2}Failures for ui +
debuginfo-level-tests = 1Failures for codegen +
debuginfo-level-tests = 2Failures for ui +
debuginfo-level-tests = 2Enselic 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…
5 remaining items
Unrolled build for #144499
Rollup merge of #144499 - Enselic:ci-debuginfo-level-tests, r=davidtwco
Rollup merge of rust-lang#145967 - Enselic:big-enum-debuginfo-span, r…
Rollup merge of rust-lang#145967 - Enselic:big-enum-debuginfo-span, r…
Rollup merge of rust-lang#145967 - Enselic:big-enum-debuginfo-span, r…
Rollup merge of rust-lang#145967 - Enselic:big-enum-debuginfo-span, r…
Unrolled build for #145967
Rollup merge of #145967 - Enselic:big-enum-debuginfo-span, r=wesleywiser
Rollup merge of rust-lang#146025 - Enselic:big-array-debuginfo-span, …
Rollup merge of rust-lang#146025 - Enselic:big-array-debuginfo-span, …
Unrolled build for #146025
Auto merge of #146394 - Enselic:debuginfo-level-tests-2, r=jieyouxu
Auto merge of #146394 - Enselic:debuginfo-level-tests-2, r=jieyouxu
Rollup merge of #144499 - Enselic:ci-debuginfo-level-tests, r=davidtwco
Auto merge of #146394 - Enselic:debuginfo-level-tests-2, r=jieyouxu