Skip to content

remove some unnecessary ignore-debug clauses - #115169

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:do-not-ignore-debug
Aug 25, 2023
Merged

bors merged 1 commit into
rust-lang:masterfrom
RalfJung:do-not-ignore-debug

Conversation

@RalfJung

@RalfJung RalfJung commented Aug 24, 2023 •

Copy link
Copy Markdown
Member

ignore-debug is only needed when the debug assertions in the standard library somehow affect the test. This can happen with inlining but otherwise should be rare. ignore-debug is problematic since PR CI is only run with debug assertions.

r? @cjgillot since it looks like you added most of these

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 24, 2023
@rust-log-analyzer

This comment has been minimized.

@RalfJung

RalfJung commented Aug 24, 2023 •

Copy link
Copy Markdown
Member Author

Hm interesting, some of these do seem to be sensitive to... something. But then why did they pass locally even though ignore-debug is in effect?

I realized I have debug-assertions-std = false. I guess ignore-debug is testing the wrong variable? Compiler debug assertions should really never be relevant. (EDIT: #115171)

@RalfJung
RalfJung force-pushed the do-not-ignore-debug branch from cf57522 to e4c4f9b Compare August 24, 2023 12:11
@cjgillot

Copy link
Copy Markdown
Contributor

TBH, I put most of those for uniformity of the mir-opt/pre-codegen directory, without thinking too much whether they were really useful.
@bors r+

@bors

bors commented Aug 24, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit e4c4f9b has been approved by cjgillot

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 24, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 25, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#114754 (Name what ln_gamma does)
 - rust-lang#115081 (Allow overwriting ExpnId for concurrent decoding)
 - rust-lang#115151 (Fix CFI: f32 and f64 are encoded incorrectly for cross-language CFI)
 - rust-lang#115169 (remove some unnecessary ignore-debug clauses)
 - rust-lang#115190 (Add comment to the push_trailing function)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit d4b6cff into rust-lang:master Aug 25, 2023
@rustbot rustbot added this to the 1.74.0 milestone Aug 25, 2023
@RalfJung
RalfJung deleted the do-not-ignore-debug branch August 25, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants