-
Notifications
You must be signed in to change notification settings - Fork 371
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
Shim intrinsics::atomic_singlethreadfence, etc. #1150
Conversation
Can these be triggered from code using just the libstd? If so, please add a test invoking some of them |
👍 tests added |
Thanks! @bors r+ |
📌 Commit 9265e0c has been approved by |
Shim intrinsics::atomic_singlethreadfence, etc. This applies the no-op shim for atomic fences to `atomic_singlethreadfence` and related intrinsics.
☀️ Test successful - checks-travis, status-appveyor |
@RalfJung Can we submit a PR to get this into nightly? I would do it myself, but from memory last time it is easier if you are the owner of the PR in case further fixes are needed :) |
Since miri is still passing on rustc master, you should be able to just open a PR that bumps the submodule and ping ralf and me so one of us can send it off. Most of the time we just update when there's breakage, so you may have seen that? |
Will do! I just remember the experience from rust-lang/rust#65278 (which was also "just a bump"), and wanted to avoid repeating that :p |
Done in rust-lang/rust#68576 |
update miri Bump miri for rust-lang/miri#1150 r? @oli-obk
This applies the no-op shim for atomic fences to
atomic_singlethreadfence
and related intrinsics.