-
- Notifications
You must be signed in to change notification settings - Fork 14.2k
miri: add miri_spin_loop to make hint::spin_loop work consistently #150088
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
Conversation
| The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
4fbc49f to 7f022df Compare 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.
Thanks! Just some minor suggestions.
| Reminder, once the PR becomes ready for a review, use |
eef6c46 to c3be846 Compare c3be846 to c7dd19b Compare | Thanks, LGTM! r=me when CI is green. |
| ✌️ @folkertdev, you can now approve this pull request! If @RalfJung told you to " |
| @bors r=RalfJung |
…fJung miri: add `miri_spin_loop` to make `hint::spin_loop` work consistently fixes rust-lang#150050 Always use the same implementation when running miri (regardless of target, for consistency). This implementation yields the current thread to try find actual bugs. r? RalfJung
Rollup of 4 pull requests Successful merges: - #149919 (Correctly encode doc attribute metadata) - #150051 (mir_build: Rename `TestCase` to `TestableCase`) - #150088 (miri: add `miri_spin_loop` to make `hint::spin_loop` work consistently) - #150096 (Revert #148937) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #150088 - folkertdev:riscv-pause-miri, r=RalfJung miri: add `miri_spin_loop` to make `hint::spin_loop` work consistently fixes #150050 Always use the same implementation when running miri (regardless of target, for consistency). This implementation yields the current thread to try find actual bugs. r? RalfJung
Rollup of 4 pull requests Successful merges: - rust-lang/rust#149919 (Correctly encode doc attribute metadata) - rust-lang/rust#150051 (mir_build: Rename `TestCase` to `TestableCase`) - rust-lang/rust#150088 (miri: add `miri_spin_loop` to make `hint::spin_loop` work consistently) - rust-lang/rust#150096 (Revert rust-lang/rust#148937) r? `@ghost` `@rustbot` modify labels: rollup
fixes #150050
Always use the same implementation when running miri (regardless of target, for consistency). This implementation yields the current thread to try find actual bugs.
r? RalfJung