-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 4 pull requests #87980
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 4 pull requests #87980
Conversation
The new implementation allows some `memcpy`s to be optimized away, so the uninit value in ui/sanitize/memory.rs is constructed directly onto the return place. Therefore the sanitizer now says that the value is allocated by `main` rather than `random`.
Implement `black_box` using intrinsic Introduce `black_box` intrinsic, as suggested in rust-lang#87590 (comment). This is still codegenned as empty inline assembly for LLVM. For MIR interpretation and cranelift it's treated as identity. cc `@Amanieu` as this is related to inline assembly cc `@bjorn3` for rustc_codegen_cranelift changes cc `@RalfJung` as this affects MIRI r? `@nagisa` I suppose
…agisa,eddyb Add c_enum_min_bits target spec field, use for arm-none and thumb-none targets Fixes rust-lang#87917 <s>Haven't tested this yet, still playing around.</s> This seems to fix the issue.
…-formatting, r=petrochenkov Improve formatting of closure capture migration suggestion for multi-line closures. Fixes rust-lang#87952 Before: ``` help: add a dummy let to cause `a` to be fully captured | 5 ~ let _ = || { let _ = &a; 6 + dbg!(a.0); 7 ~ }; | ``` After: ``` help: add a dummy let to cause `a` to be fully captured | 5 ~ let _ = || { 6 + let _ = &a; 7 + dbg!(a.0); 8 ~ }; | ```
…stebank Silence non_fmt_panic from external macros. This stops the non_fmt_panic lint from triggering if a macro from another crate is entirely responsible. In those cases there's nothing that the current crate can/should do. See also rust-lang#87621 (comment)
|
@bors r+ p=5 |
|
📌 Commit 2d27976 has been approved by |
|
⌛ Testing commit 2d27976 with merge c33595c8fa6d18dc1205625ea39a23e565dcf60d... |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
@bors retry |
|
☀️ Test successful - checks-actions |
Successful merges:
black_boxusing intrinsic #87916 (Implementblack_boxusing intrinsic)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup