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

do not protect SRW items #2248

Merged
merged 3 commits into from
Jun 22, 2022
Merged

do not protect SRW items #2248

merged 3 commits into from
Jun 22, 2022

Conversation

RalfJung
Copy link
Member

This is the Miri version of rust-lang/rust#98017.

also do more iterations of weak mem consistency, since now that is no longer the slowest test ;)
@RalfJung
Copy link
Member Author

Assuming the FCP in rust-lang/rust#98017 will pass, let's land this.
@bors r+

@bors
Copy link
Contributor

bors commented Jun 22, 2022

📌 Commit 1b214a0 has been approved by RalfJung

@bors
Copy link
Contributor

bors commented Jun 22, 2022

⌛ Testing commit 1b214a0 with merge 655eed3...

@bors
Copy link
Contributor

bors commented Jun 22, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 655eed3 to master...

@bors bors merged commit 655eed3 into rust-lang:master Jun 22, 2022
RalfJung added a commit to RalfJung/unsafe-code-guidelines that referenced this pull request Jun 22, 2022
@RalfJung RalfJung deleted the arc-drop-fix branch June 22, 2022 22:09
bors bot added a commit to crossbeam-rs/crossbeam that referenced this pull request Jun 30, 2022
855: Miri: enable preemption again r=taiki-e a=RalfJung

Miri has a [work-around](rust-lang/miri#2248) for rust-lang/rust#55005 now.

Also, "check-number-validity" is on by default these days.  And I am not sure why "compare-exchange-weak-failure-rate=0.0" was set so let's see what happens when we remove it. :)

Co-authored-by: Ralf Jung <[email protected]>
bors bot added a commit to crossbeam-rs/crossbeam that referenced this pull request Jul 1, 2022
855: Miri: enable preemption again r=taiki-e a=RalfJung

Miri has a [work-around](rust-lang/miri#2248) for rust-lang/rust#55005 now.

Also, "check-number-validity" is on by default these days.  And I am not sure why "compare-exchange-weak-failure-rate=0.0" was set so let's see what happens when we remove it. :)

858: Ignore clippy::let_unit_value lint r=taiki-e a=taiki-e



Co-authored-by: Ralf Jung <[email protected]>
Co-authored-by: Taiki Endo <[email protected]>
bors bot added a commit to crossbeam-rs/crossbeam that referenced this pull request Jul 1, 2022
855: Miri: enable preemption again r=taiki-e a=RalfJung

Miri has a [work-around](rust-lang/miri#2248) for rust-lang/rust#55005 now.

Also, "check-number-validity" is on by default these days.  And I am not sure why "compare-exchange-weak-failure-rate=0.0" was set so let's see what happens when we remove it. :)

858: Ignore clippy::let_unit_value lint r=taiki-e a=taiki-e



Co-authored-by: Ralf Jung <[email protected]>
Co-authored-by: Taiki Endo <[email protected]>
bors added a commit that referenced this pull request Jul 3, 2022
move arc_drop test to miri-test-libstd

That's where we have a bunch of slow and unlikely-to-regress tests already. Miri's test suite should primarily test Miri; we sometimes add libstd tests when they are cheap and/or exercise interesting code paths in Miri. #2248 already ensures that we allow code like `Arc` with more direct tests.
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.

2 participants