-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Rollup of 7 pull requests #96720
Rollup of 7 pull requests #96720
Conversation
`min_stack` does not provide any synchronization guarantees to its callers, and only requires atomicity for `MIN` itself, so relaxed memory ordering is sufficient.
`SameMutexCheck` only requires atomicity for `self.addr`, but does not need ordering of other memory accesses in either the success or failure case. Using `Relaxed`, the code still correctly handles the case when two threads race to store an address.
Fix lint Fix main.js Restore anonymous functions Fix Fix more
…ark-Simulacrum Enable full revision in const generics ui tests The ICEs no longer occur since rust-lang#95776 so the revisions can be reenabled Also adds some regression tests for issues that no longer ICE because of it closes rust-lang#77357 closes rust-lang#78180 closes rust-lang#83993
…ring, r=joshtriplett Relax memory ordering used in `min_stack` `min_stack` does not provide any synchronization guarantees to its callers, and only requires atomicity for `MIN` itself, so relaxed memory ordering is sufficient.
…ed_ordering, r=m-ou-se Relax memory ordering used in SameMutexCheck `SameMutexCheck` only requires atomicity for `self.addr`, but does not need ordering of other memory accesses in either the success or failure case. Using `Relaxed`, the code still correctly handles the case when two threads race to store an address.
…=m-ou-se Stabilize `bool::then_some` FCP completed in rust-lang#80967
Move callback to the () => {} syntax. Part of rust-lang#93058. r? `@GuillaumeGomez`
…etrochenkov Add more tests for label-break-value Helps with rust-lang#48594. The tests are adapted from rust-lang#48594 (comment).
…rister Enable tracing for all queries This allows you to log everything within a specific query, e.g. ``` env RUSTC_LOG=[mir_borrowck] ``` dumping all borrowck queries may be a bit verbose, so you can also restrict it to just an item of your choice: ``` env RUSTC_LOG=[mir_borrowck{key=\.\*name_of_item\.\*}] ``` the regex `.*` in the key name are because the key is a debug printed DefId, so you'd get all kinds of things like hashes in there. The tracing logs will show you the key, so you can restrict it further if you want.
@bors r+ rollup=never p=5 |
📌 Commit ade1232 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (7d3e036): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
For perf-triagers: the above result should come from #96697. |
Successful merges:
min_stack
#96616 (Relax memory ordering used inmin_stack
)bool::then_some
#96628 (Stabilizebool::then_some
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup