Skip to content

Use cfg_attr instead of cfg for tests that would break Miri#156430

Open
Qelxiros wants to merge 1 commit intorust-lang:mainfrom
Qelxiros:miri-fixes
Open

Use cfg_attr instead of cfg for tests that would break Miri#156430
Qelxiros wants to merge 1 commit intorust-lang:mainfrom
Qelxiros:miri-fixes

Conversation

@Qelxiros
Copy link
Copy Markdown
Contributor

This PR changes #[cfg(not(miri))] to #[cfg_attr(miri, ignore)], as described in #146341 (comment). If you'd prefer (since Miri doesn't run these tests by default), I'd be happy to remove the gates altogether. Sorry about the confusion!

r? @RalfJung

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 11, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 11, 2026

RalfJung is not on the review rotation at the moment.
They may take a while to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants