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 6 pull requests #103510

Closed
wants to merge 20 commits into from
Closed

Commits on Jun 17, 2022

  1. Stabilized Option::unzip()

    Kixiron committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    59be3e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Use CURRENT_RUSTC_VERSION

    Kixiron authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    df8a62d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2022

  1. rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler

    This is the first (known) step towards starting to use `unix_sigpipe` in
    the wild. Eventually, `rustc_driver::set_sigpipe_handler` can be removed
    and all clients can use `unix_sigpipe` instead.
    
    For now we just start using `unix_sigpipe` in once place: `rustc`
    itself.
    
    It is easy to manually verify this change. If you remove
    `#[unix_sigpipe = "sig_dfl"]` and run `./x.py build` you will get an ICE
    when you do `./build/x86_64-unknown-linux-gnu/stage1/bin/rustc --help |
    false`. Add back `#[unix_sigpipe = "sig_dfl"]` and the ICE disappears
    again.
    Enselic committed Oct 2, 2022
    Configuration menu
    Copy the full SHA
    093b075 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. Truncate thread names on Linux and Apple targets

    These targets have system limits on the thread names, 16 and 64 bytes
    respectively, and `pthread_setname_np` returns an error if the name is
    longer. However, we're not in a context that can propagate errors when
    we call this, and we used to implicitly truncate on Linux with `prctl`,
    so now we manually truncate these names ahead of time.
    cuviper committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    7280f3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12e4584 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f8f74d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    4bd9844 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15cfeb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e521a8d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86c65d2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    daf3063 View commit details
    Browse the repository at this point in the history
  6. Apply suggestion

    Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
    nbdd0121 and Amanieu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    979d1a2 View commit details
    Browse the repository at this point in the history
  7. Fix alloc size

    nbdd0121 committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    4e6d60c View commit details
    Browse the repository at this point in the history
  8. Fix windows compilation

    nbdd0121 committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    c9cca33 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. Rollup merge of rust-lang#98204 - Kixiron:stable-unzip, r=thomcc

    Stabilize `Option::unzip()`
    
    Stabilizes `Option::unzip()`, closes rust-lang#87800
    
    `@rustbot` modify labels: +T-libs-api
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    03bd9c9 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#102587 - Enselic:rustc-unix_sigpipe, r=jack…

    …h726
    
    rustc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`
    
    This is the first (known) step towards starting to use `unix_sigpipe` in the wild. Eventually, `rustc_driver::set_sigpipe_handler` can be removed and all clients can use `unix_sigpipe` instead.
    
    For now we just start using `unix_sigpipe` in one place: `rustc` itself.
    
    It is easy to manually verify this change. If you remove `#[unix_sigpipe = "sig_dfl"]` and run `./x.py build` you will get an ICE when you do `./build/x86_64-unknown-linux-gnu/stage1/bin/rustc --help | false`. Add back `#[unix_sigpipe = "sig_dfl"]` and the ICE disappears again.
    
    PR that added `set_sigpipe_handler`: rust-lang#49606
    
    Tracking issue for `unix_sigpipe`: rust-lang#97889
    
    Not sure exactly how to label this PR. Going with T-libs for now since this is a T-libs feature.
    
    ``@rustdoc`` labels +T-libs
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    7459409 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#102721 - nbdd0121:panic, r=Amanieu

    Prevent foreign Rust exceptions from being caught
    
    Fix rust-lang#102715
    
    Use the address of a static variable (which is guaranteed to be unique per copy of std) to tell apart if a Rust exception comes from local or foreign Rust code, and abort for the latter.
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    7665f3c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#103122 - ouz-a:mir-technical-debt, r=oli-obk

    Remove misc_cast and validate types when casting
    
    Continuing our work in rust-lang#102675
    
    r? ``@oli-obk``
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    1c8201c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#103379 - cuviper:truncate-thread-name, r=th…

    …omcc
    
    Truncate thread names on Linux and Apple targets
    
    These targets have system limits on the thread names, 16 and 64 bytes
    respectively, and `pthread_setname_np` returns an error if the name is
    longer. However, we're not in a context that can propagate errors when
    we call this, and we used to implicitly truncate on Linux with `prctl`,
    so now we manually truncate these names ahead of time.
    
    r? ````@thomcc````
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    d0d9c86 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#103416 - compiler-errors:rpit-named, r=cjgi…

    …llot
    
    Name the `impl Trait` in region bound suggestions
    
    Slightly more descriptive message
    Dylan-DPC authored Oct 25, 2022
    Configuration menu
    Copy the full SHA
    d6d6cb7 View commit details
    Browse the repository at this point in the history