-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 6 pull requests #95558
Rollup of 6 pull requests #95558
Conversation
They are 0 by definition there.
…consts-from-trait-impls, r=jsha rustdoc: Only show associated consts from inherent impls in sidebar Resolves rust-lang#95459
ptr_metadata test: avoid ptr-to-int transmutes Pointers can have provenance, integers don't, so transmuting pointers to integers creates "non-standard" values and it is unclear how well those can be supported (rust-lang/unsafe-code-guidelines#286). So for this test let's take the safer option and use a pointer type instead. That also makes Miri happy. :)
skip slow int_log tests in Miri Iterating over i16::MAX many things takes a long time in Miri, let's not do that. I added rust-lang/miri#2044 on the Miri side to still give us some test coverage.
expand: Do not count metavar declarations on RHS of `macro_rules` They are 0 by definition there. Addresses rust-lang#95425 (comment) r? ```@nnethercote```
make utf8_char_counts test faster in Miri This currently takes >3min on GHA, so let's reduce the test size a bit more for Miri.
…n-docs, r=Amanieu add notes about alignment-altering reallocations to Allocator docs As I said in rust-lang/wg-allocators#97, the fact that calls to `grow`, `grow_zeroed`, and `shrink` may request altered alignments is surprising and may be a pitfall for implementors of `Allocator` if it's left implicit. This pull request adds a note to the "Safety" section of each function's docs making it explicit.
@bors r+ rollup=never p=6 |
📌 Commit a92286f has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (99da9ae): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
FYI for anyone falling along, the above performance improvements are not real. There was a change to one of the performance benchmarks that made all compilations of that benchmark take roughly half the time compared to the previous run. This rollup is performance neutral. |
Successful merges:
macro_rules
#95531 (expand: Do not count metavar declarations on RHS ofmacro_rules
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup