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 7 pull requests #83777

Closed
wants to merge 15 commits into from
Closed

Commits on Mar 22, 2021

  1. Move SharedContext to context.rs

    It is tightly connected to `Context` and is primarily used as a field in
    `Context`. Thus, it should be next to `Context`.
    camelid committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    e022936 View commit details
    Browse the repository at this point in the history

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. Fix minor typo in once.rs

    obi1kenobi committed Apr 1, 2021
    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#82963 - camelid:move-sharedcontext, r=Guill…

    …aumeGomez
    
    Move `SharedContext` to `context.rs`
    
    It is tightly connected to `Context` and is primarily used as a field in
    `Context`. Thus, it should be next to `Context`.
    JohnTitor committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9badf69 View commit details
    Browse the repository at this point in the history
  3. 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 committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    bf384b6 View commit details
    Browse the repository at this point in the history
  4. 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 committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    ce3246f View commit details
    Browse the repository at this point in the history
  5. 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 committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    e5a2ec3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#83745 - JohnTitor:jtitor-mailmap, r=Mark-Si…

    …mulacrum
    
    Add my new email address to .mailmap
    JohnTitor committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    8efce38 View commit details
    Browse the repository at this point in the history
  7. 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 committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    92e4612 View commit details
    Browse the repository at this point in the history
  8. 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 committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9b8583a View commit details
    Browse the repository at this point in the history