Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Only run rainbow highlighting test on 64-bit Unix #12903

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Jul 28, 2022

This depends on the exact hash values, which is not exactly portable.

@Veykril
Copy link
Member

Veykril commented Jul 28, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Jul 28, 2022

📌 Commit 948c9af has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 28, 2022

⌛ Testing commit 948c9af with merge cab1055...

@bors
Copy link
Contributor

bors commented Jul 28, 2022

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing cab1055 to master...

@bors bors merged commit cab1055 into rust-lang:master Jul 28, 2022
@lnicola lnicola deleted the rainbows branch July 28, 2022 18:38
@lnicola lnicola changed the title Only run rainbow highlighting test on 64-bit Unix internal: Only run rainbow highlighting test on 64-bit Unix Jul 28, 2022
@@ -915,6 +915,10 @@ fn main() {
}

#[test]
#[cfg_attr(
all(unix, not(target_pointer_width = "64")),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contrary to what title says this runs this test on UNIXes that are not 64-bit 😄

Copy link
Member Author

@lnicola lnicola Aug 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙀 no, it actually runs it on 32-bit non-Unix all non-Unix and all 64-bit targets.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry I thought it's normal cfg. Didn't see that ignore part 🤦🏻‍♂️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it's still wrong 😀, thanks for spotting it.

bors added a commit that referenced this pull request Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants