-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 8 pull requests #127657
Rollup of 8 pull requests #127657
Commits on Jun 21, 2024
-
On
target_os = "linux"
, ensure that only one Rust thread calls `lib……c::exit` or returns from `main`.
Configuration menu - View commit details
-
Copy full SHA for e71d06b - Browse repository at this point
Copy the full SHA e71d06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bff3531 - Browse repository at this point
Copy the full SHA bff3531View commit details -
Don't perform mitigation for thread-unsafe libc::exit under Miri.
1. Miri's exit is thread-safe 2. Miri doesn't (yet) support `libc::gettid`, used in the implementation of the mitigation on Linux.
Configuration menu - View commit details
-
Copy full SHA for c36fdeb - Browse repository at this point
Copy the full SHA c36fdebView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 31851d4 - Browse repository at this point
Copy the full SHA 31851d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a05cb2 - Browse repository at this point
Copy the full SHA 1a05cb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c3673f - Browse repository at this point
Copy the full SHA 7c3673fView commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e83faf - Browse repository at this point
Copy the full SHA 5e83fafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 897fb6c - Browse repository at this point
Copy the full SHA 897fb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b512608 - Browse repository at this point
Copy the full SHA b512608View commit details -
Move unique_thread_exit call to lang_start_internal so it is not in a…
… generic function, and wrap it in `catch_unwind`
Configuration menu - View commit details
-
Copy full SHA for b4149c6 - Browse repository at this point
Copy the full SHA b4149c6View commit details -
CFI: Support provided methods on traits
Provided methods currently don't get type erasure performed on them because they are not in an `impl` block. If we are instantiating a method that is an associated item, but *not* in an impl block, treat it as a provided method instead.
Configuration menu - View commit details
-
Copy full SHA for 81b1f92 - Browse repository at this point
Copy the full SHA 81b1f92View commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fe5581d - Browse repository at this point
Copy the full SHA fe5581dView commit details
Commits on Jul 5, 2024
-
Update library/std/src/sys/pal/common/exit_guard.rs
Co-authored-by: Ralf Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9de76e3 - Browse repository at this point
Copy the full SHA 9de76e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a609370 - Browse repository at this point
Copy the full SHA a609370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db1655 - Browse repository at this point
Copy the full SHA 5db1655View commit details
Commits on Jul 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9801076 - Browse repository at this point
Copy the full SHA 9801076View commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8bcbab5 - Browse repository at this point
Copy the full SHA 8bcbab5View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 87856c4 - Browse repository at this point
Copy the full SHA 87856c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ef94e - Browse repository at this point
Copy the full SHA a3ef94eView commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c8bbee - Browse repository at this point
Copy the full SHA 2c8bbeeView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 843f5dd - Browse repository at this point
Copy the full SHA 843f5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd135e4 - Browse repository at this point
Copy the full SHA bd135e4View commit details -
Rollup merge of rust-lang#126502 - cuviper:dump-mir-exclude-alloc-byt…
…es, r=estebank Ignore allocation bytes in some mir-opt tests This adds `rustc -Zdump-mir-exclude-alloc-bytes` to skip writing allocation bytes in MIR dumps, and applies it to tests that were failing on s390x due to its big-endian byte order. Fixes rust-lang#126261
Configuration menu - View commit details
-
Copy full SHA for d18af83 - Browse repository at this point
Copy the full SHA d18af83View commit details -
Rollup merge of rust-lang#126606 - zachs18:patch-2, r=joboet
Guard against calling `libc::exit` multiple times on Linux. Mitigates (but does not fix) rust-lang#126600 by ensuring only one thread which calls Rust `exit` actually calls `libc::exit`, and all other callers of Rust `exit` block.
Configuration menu - View commit details
-
Copy full SHA for cc0a918 - Browse repository at this point
Copy the full SHA cc0a918View commit details -
Rollup merge of rust-lang#126922 - asquared31415:asm_binary_label, r=…
…estebank add lint for inline asm labels that look like binary fixes rust-lang#94426 Due to a bug/feature in LLVM, labels composed of only the digits `0` and `1` can sometimes be confused with binary literals, even if a binary literal would not be valid in that position. This PR adds detection for such labels and also as a drive-by change, adds a note to cases such as `asm!(include_str!("file"))` that the label that it found came from an expansion of a macro, it wasn't found in the source code. I expect this PR to upset some people that were using labels `0:` or `1:` without issue because they never hit the case where LLVM got it wrong, but adding a heuristic to the lint to prevent this is not feasible - it would involve writing a whole assembly parser for every target that we have assembly support for. [zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202024-06-20/near/445870628) r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 1d7d63c - Browse repository at this point
Copy the full SHA 1d7d63cView commit details -
Rollup merge of rust-lang#127295 - maurer:default-impl-cfi, r=estebank
CFI: Support provided methods on traits Provided methods currently don't get type erasure performed on them because they are not in an `impl` block. If we are instantiating a method that is an associated item, but *not* in an impl block, treat it as a provided method instead.
Configuration menu - View commit details
-
Copy full SHA for d401c47 - Browse repository at this point
Copy the full SHA d401c47View commit details -
Rollup merge of rust-lang#127310 - chenyukang:yukang-fix-suggest-impo…
…rt-ice, r=estebank Fix import suggestion ice Fixes rust-lang#127302 rust-lang#127302 only crash in edition 2015 rust-lang#120074 can only reproduced in edition 2021 so I added revisions in test file.
Configuration menu - View commit details
-
Copy full SHA for eb85988 - Browse repository at this point
Copy the full SHA eb85988View commit details -
Rollup merge of rust-lang#127535 - spastorino:unsafe_code-unsafe_exte…
…rn_blocks, r=oli-obk Fire unsafe_code lint on unsafe extern blocks Fixes rust-lang#126738
Configuration menu - View commit details
-
Copy full SHA for 58ceb36 - Browse repository at this point
Copy the full SHA 58ceb36View commit details -
Rollup merge of rust-lang#127631 - compiler-errors:yeet-fully-norm, r…
…=lcnr Remove `fully_normalize` Yeet this function and replace it w/ some `ObligationCtxt` instead. It wasn't called very often anyways. r? lcnr
Configuration menu - View commit details
-
Copy full SHA for 2dc3d73 - Browse repository at this point
Copy the full SHA 2dc3d73View commit details -
Rollup merge of rust-lang#127632 - compiler-errors:precise-capturing-…
…rustdoc, r=fmease Implement `precise_capturing` support for rustdoc Implements rustdoc (+json) support for local (i.e. non-cross-crate-inlined) RPITs with `use<...>` precise capturing syntax. Tests kinda suck. They're really hard to write 😰 r? `@fmease` or re-roll if you're too busy! also cc `@aDotInTheVoid` for the json side Tracking: * rust-lang#127228 (comment) (not fully fixed for cross-crate-inlined opaques) * rust-lang#123432
Configuration menu - View commit details
-
Copy full SHA for d15fdf4 - Browse repository at this point
Copy the full SHA d15fdf4View commit details