Skip to content
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 #124703

Merged
merged 20 commits into from
May 4, 2024
Merged

Rollup of 8 pull requests #124703

merged 20 commits into from
May 4, 2024

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    e7b5730 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    061d873 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    37c1758 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    a56fd37 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    351658a View commit details
    Browse the repository at this point in the history
  2. Ensure miri only uses fallback bodies that have manually been vetted …

    …to preserve all UB that the native intrinsic would have
    oli-obk committed May 3, 2024
    Configuration menu
    Copy the full SHA
    821d23b View commit details
    Browse the repository at this point in the history
  3. Set non-leaf frame pointers on Fuchsia targets

    David Koloski committed May 3, 2024
    Configuration menu
    Copy the full SHA
    0637709 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. Configuration menu
    Copy the full SHA
    e404e7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e97c6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f4861c View commit details
    Browse the repository at this point in the history
  4. Remove an unnecessary cast

    Very minor thing, obviously, but I randomly saw this unnecessary cast showing up in the UbChecks, so might as well get rid of it.
    scottmcm committed May 4, 2024
    Configuration menu
    Copy the full SHA
    b95d1b7 View commit details
    Browse the repository at this point in the history
  5. Docs: suggest uN::checked_sub instead of check-then-unchecked

    As of 124114 it's exactly the same in codegen, so might as well not use `unsafe`.
    
    Note that this is only for *unsigned*, since the overflow conditions for `iN::checked_sub` are more complicated.
    scottmcm committed May 4, 2024
    Configuration menu
    Copy the full SHA
    e1c833e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#123356 - joboet:set_current_size, r=ChrisDe…

    …nton
    
    Reduce code size of `thread::set_current`
    
    rust-lang#123265 introduced a rather large binary size regression, because it added an `unwrap()` call on a `Result<(), Thread>`, which in turn pulled its rather heavy `Debug` implementation. This PR fixes this by readding the `rtassert!` that was removed.
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    b8fa047 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#124159 - joboet:move_pal_thread_parking, r=…

    …ChrisDenton
    
    Move thread parking to `sys::sync`
    
    Part of rust-lang#117276.
    
    I'll leave the platform-specific API abstractions in `sys::pal`, as per the initial proposal. I'm not entirely sure whether we'll want to keep it that way, but that remains to be seen.
    
    r? ``@ChrisDenton`` (if you have time)
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    cc51f91 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#124293 - oli-obk:miri_intrinsic_fallback_bo…

    …dy, r=RalfJung
    
    Let miri and const eval execute intrinsics' fallback bodies
    
    fixes rust-lang/miri#3397
    
    r? ``@RalfJung``
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    ceb7b5e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#124677 - djkoloski:set_fuchsia_frame_pointe…

    …r, r=tmandry
    
    Set non-leaf frame pointers on Fuchsia targets
    
    This is part of our work to enable shadow call stack sanitization on Fuchsia, see [this Fuchsia issue](https://g-issues.fuchsia.dev/issues/327643884).
    
    r? ``@tmandry``
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    81b43b7 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#124692 - workingjubilee:document-no-double-…

    …pointer-coercion-happens, r=compiler-errors
    
    We do not coerce `&mut &mut T -> *mut mut T`
    
    Resolves rust-lang#34117 by declaring it to be "working as intended" until someone RFCs it or whatever other lang proposal would be required. It seems a bit of a footgun, but perhaps there are strong reasons to allow it anyways. Seeing as how I often have to be mindful to not allow a pointer to coerce the wrong way in my FFI work, I am inclined to think not, but perhaps it's fine in some use-case and that's actually more common?
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    b0715b4 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#124698 - JoverZhang:test-rustdoc-determinis…

    …m, r=jieyouxu
    
    Rewrite `rustdoc-determinism` test in Rust
    
    Rewrite the `rustdoc-determinism` test from rust-lang#121876.
    
    r? `@jieyouxu`
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    b871137 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#124700 - scottmcm:unneeded_cast, r=Nilstrieb

    Remove an unnecessary cast
    
    Very minor thing, obviously, but I randomly saw this unnecessary cast showing up in the UbChecks, so might as well get rid of it.
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    7705671 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#124701 - scottmcm:unchecked_sub_docs, r=Nil…

    …strieb
    
    Docs: suggest `uN::checked_sub` instead of check-then-unchecked
    
    As of rust-lang#124114 it's exactly the same in codegen, so might as well not use `unsafe`.
    
    Note that this is only for *unsigned*, since the overflow conditions for `iN::checked_sub` are more complicated.
    matthiaskrgr authored May 4, 2024
    Configuration menu
    Copy the full SHA
    5f4f4fb View commit details
    Browse the repository at this point in the history