-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
std float tests: special-case Miri in feature detection #128818
Conversation
This seems reasonable to me, thanks for the fix @bors r+ |
@bors r-
|
These here use a constant that is gated on reliable_f16, but the test does not have that gate: rust/library/std/src/f16/tests.rs Lines 613 to 614 in e18036c
|
Can you change the gates on the constants to |
also fix some cfg logic
302ae8b
to
5d96870
Compare
Now it seems to build. :) |
Thanks, r=me once CI passes. f128 has the same gate on a constant but I don’t think that one will fail (feel free to make the same change if it does). |
rust-lang/miri-test-libstd#76 is looking good so the f128 case seems to be fine. |
I assume this is still better to have in-tree rather than always neeing the patch - feel free to cancel if that isn't accurate. @bors r+ |
💡 This pull request was already approved, no need to approve it again.
|
Oh, I assumed the force push undid the r+ 🤦 |
It did, but I re-approved it. ;) |
Completely missed that, thanks github mobile view :) |
std float tests: special-case Miri in feature detection Quick work-around to fix miri-test-libstd failures. r? `@tgross35`
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#128640 (rwlock: disable 'frob' test in Miri on macOS) - rust-lang#128791 (Don't implement `AsyncFn` for `FnDef`/`FnPtr` that wouldnt implement `Fn`) - rust-lang#128806 (Split `ColorConfig` off of `HumanReadableErrorType`) - rust-lang#128818 (std float tests: special-case Miri in feature detection) - rust-lang#128834 (rustdoc: strip unreachable modules) - rust-lang#128836 (rustdoc-json: add a test for impls on private & hidden types) - rust-lang#128837 (Clippy subtree update) - rust-lang#128851 (Add comment that bors did not see pushed before it merged) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#128818 - RalfJung:std-miri-floats, r=tgross35 std float tests: special-case Miri in feature detection Quick work-around to fix miri-test-libstd failures. r? ``@tgross35``
Quick work-around to fix miri-test-libstd failures.
r? @tgross35