-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
update Miri #103721
update Miri #103721
Conversation
test on windows-gnu target The windows-gnu target for an open-source windows toolchain is slightly different in some low-level aspects of the standard library, such as TLS handling. So let's separately ensure that this works. (Also tests a 64bit windows target on a windows host, which we didn't have so far.)
simplify GHA I think we can just list the cases with `include:` and don't also need this `build` array.
change cronjob time This way it is again in my morning.
Implement `ptr_mask` intrinsic I promised I'll implement it, but then forgot 😅
pthread_setname_np returns an int on macOS Fixes rust-lang/miri#2625
update ignore-windows comments Turns out 2 of these tests can actually be enabled. :)
…n fixed a while ago)
Implement thread parking for Windows Cc rust-lang/miri#2628 Based on code by `@DrMeepster.` However I adjusted `WakeByAddressSingle`: I don't think the futex value is compared *again* after the thread is woken up. I see nothing in the Windows docs indicating such a comparison, and the Linux futex does not behave like that either. So we only check the value before sleeping, same as on Linux.
…Jung Support timeouts with monotonic clocks even when isolation is enabled With the deterministic monotonic clock support we now have, we can allow some synchronization primitives with timeouts even under isolation: - Linux futex waiting (when set to the monotonic clock) - pthread_cond_timedwait (when set to the monotonic clock) - Windows WaitOnAddress Unfortunately none of these exist on macOS -- the standard library always uses the system clock for timeouts on macOS, so that will still require `-Zmiri-disable-isolation`.
(rustbot has picked a reviewer for you, use r? to override) |
The Miri subtree was changed cc @rust-lang/miri |
Tools builder is happy. |
@bors p=1 |
Just testing something... |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b03502b): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
That's definitely noise, this didn't even change rustc. |
update Miri Noteworthy PRs: - rust-lang/miri#2624 - rust-lang/miri#2626 - rust-lang/miri#2630 - rust-lang/miri#2631
Noteworthy PRs:
ptr_mask
intrinsic miri#2624