-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
@bors r+ |
☀️ Test successful - checks-actions |
@@ -915,6 +915,10 @@ fn main() { | |||
} | |||
|
|||
#[test] | |||
#[cfg_attr( | |||
all(unix, not(target_pointer_width = "64")), |
There was a problem hiding this comment.
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 😄
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 🤦🏻♂️
There was a problem hiding this comment.
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.
Fix `test_rainbow_highlighting` gate CC #12903 (review)
This depends on the exact hash values, which is not exactly portable.