-
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 7 pull requests #115126
Rollup of 7 pull requests #115126
Conversation
Automatically add OS labels to std PRs I'd love to have `library/std/src/sys` PRs that touch Windows stuff to have the `O-windows` label for easier discovery (and rediscovery). While I'm here I added a couple of other auto OS labels. Perhaps `O-unix` is a little too broad but it's hard to be more specific and I think it's still useful insomuch as POSIX is a thing. r? libs
…d-docs, r=cuviper docs: Add example, reference link for `type` keyword. Fixes rust-lang#114281.
Add generics_of to smir Continuing our covering of smir. r? `@spastorino`
Add regression test for not `memcpy`ing padding bytes Closes rust-lang#56297 See this comparison: https://rust.godbolt.org/z/jjzfonfcE I don't have any experience with codegen tests, I hope this is correct
…es, r=est31 Add support for `ptr::write`s for the `invalid_reference_casting` lint This PR adds support for `ptr::write` and others for the `invalid_reference_casting` lint. Detecting instances where instead of using the deref (`*`) operator to assign someone uses `ptr::write`, `ptr::write_unaligned` or `ptr::write_volatile`. ```rust let data_len = 5u64; std::ptr::write( std::mem::transmute::<*const u64, *mut u64>(&data_len), new_data_len, ); ``` r? ``@est31``
Contents of reachable statics is reachable Fixes rust-lang#115052.
Fix clippy lint for identical `if`/`else` contraining `?` expressions Follow up to rust-lang#114819.
@bors r+ rollup=never p=5 |
sec there was a failed rollup that was closed earlier |
@bors r+ |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 6046aa06b6 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (8105739): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 634.141s -> 634.811s (0.11%) |
Successful merges:
type
keyword. #115053 (docs: Add example, reference link fortype
keyword.)memcpy
ing padding bytes #115096 (Add regression test for notmemcpy
ing padding bytes)ptr::write
s for theinvalid_reference_casting
lint #115100 (Add support forptr::write
s for theinvalid_reference_casting
lint)if
/else
contraining?
expressions #115122 (Fix clippy lint for identicalif
/else
contraining?
expressions)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup