Uh oh!
There was an error while loading. Please reload this page.
Change orderings of Debug for the Atomic types to Relaxed. - #97026
Conversation
rust-highfive
commented
May 13, 2022
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
rust-highfive
commented
May 13, 2022
r? @scottmcm (rust-highfive has picked a reviewer for you, use r? to override) |
This reduces synchronization between threads when debugging the atomic types. Reducing the synchronization means that executions with and without the debug calls will be more consistent, making it easier to debug.
7b19f93 to
d11667fComparescottmcm
commented
May 25, 2022
LLVM docs for This seems reasonable to me. @bors r+ |
bors
commented
May 25, 2022
📌 Commit d11667f has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#93604 (Make llvm-libunwind a per-target option) - rust-lang#97026 (Change orderings of `Debug` for the Atomic types to `Relaxed`.) - rust-lang#97105 (Add tests for lint on type dependent on consts) - rust-lang#97323 (Introduce stricter checks for might_permit_raw_init under a debug flag ) - rust-lang#97379 (Add aliases for `current_dir`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This reduces synchronization between threads when debugging the atomic types. Reducing the synchronization means that executions with and without the debug calls will be more consistent, making it easier to debug.
We discussed this on the Rust Community Discord with @ibraheemdev before.