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 #83778

Closed
wants to merge 13 commits into from
Closed

Commits on Mar 26, 2021

  1. Break when there is a mismatch in the type count

    When other errors are generated, there can be a mismatch between the
    amount of input types in MIR, and the amount in the function itself.
    Break from the comparative loop if this is the case to prevent
    out-of-bounds.
    MidasLamb committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    5676bd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    2e4215c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a38d3cb View commit details
    Browse the repository at this point in the history
  3. Add a test that triggers the out-of-bounds ICE.

    Add a test that has the right input to trigger an out-of-bounds
    error when in MIR the local_decls and the normalized_input_tys don't
    match in amount.
    MidasLamb committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    2d813b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f131350 View commit details
    Browse the repository at this point in the history
  5. Don't load all extern crates unconditionally

    Instead, only load the crates that are linked to with intra-doc links.
    
    This doesn't help very much with any of rustdoc's fundamental issues
    with freezing the resolver, but it at least fixes a stable-to-stable
    regression, and makes the crate loading model somewhat more consistent
    with rustc's.
    jyn514 committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    cc69c65 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Fix stack overflow detection on FreeBSD 11.1+

    Beginning with FreeBSD 10.4 and 11.1, there is one guard page by
    default.  And the stack autoresizes, so if Rust allocates its own guard
    page, then FreeBSD's will simply move up one page.  The best solution is
    to just use the OS's guard page.
    asomers committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    ca14abb View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#83535 - MidasLamb:mir-type-count-mismatch, …

    …r=nikomatsakis
    
    Break when there is a mismatch in the type count
    
    When other errors are generated, there can be a mismatch between the
    amount of input types in MIR, and the amount in the function itself.
    Break from the comparative loop if this is the case to prevent
    out-of-bounds.
    Fixes rust-lang#83499
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9613582 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#83738 - jyn514:only-load-some-crates, r=pet…

    …rochenkov
    
    rustdoc: Don't load all extern crates unconditionally
    
    Instead, only load the crates that are linked to with intra-doc links.
    
    This doesn't help very much with any of rustdoc's fundamental issues
    with freezing the resolver, but it at least fixes a stable-to-stable
    regression, and makes the crate loading model somewhat more consistent
    with rustc's. I tested and it unfortunately does not help at all with rust-lang#82496.
    
    Closes rust-lang#68427. Let me know if you want me to open a separate issue for not freezing the resolver.
    r? ``@petrochenkov`` cc ``@eddyb`` ``@ollie27``
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9a6ced8 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#83740 - obi1kenobi:patch-1, r=joshtriplett

    Fix comment typo in once.rs
    
    I believe I came across a minor typo in a comment. I am not particularly familiar with this part of the codebase, but I have read the surrounding code as well as the referenced `park` and `unpark` functions, and I believe my proposed change is true to the intended meaning of the comment.
    
    I intentionally tried to keep the change as minimal as possible. If I have the maintainers' permission, I'd also love to add a comma to improve readability as follows: `Luckily ``park`` comes with the guarantee that if it got an ``unpark`` just before on an unparked thread, it does not park.`
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    6a4fbe4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#83745 - JohnTitor:jtitor-mailmap, r=Mark-Si…

    …mulacrum
    
    Add my new email address to .mailmap
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    435e8e8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#83754 - GuillaumeGomez:search-tab-behaviour…

    …, r=jyn514
    
    Add test to ensure search tabs behaviour
    
    It adds a GUI test for rust-lang#80382.
    
    r? ``@jyn514``
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    6404a9d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#83771 - asomers:stack_overflow_freebsd, r=d…

    …tolnay
    
    Fix stack overflow detection on FreeBSD 11.1+
    
    Beginning with FreeBSD 10.4 and 11.1, there is one guard page by
    default.  And the stack autoresizes, so if Rust allocates its own guard
    page, then FreeBSD's will simply move up one page.  The best solution is
    to just use the OS's guard page.
    JohnTitor authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    b98eea4 View commit details
    Browse the repository at this point in the history