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

Closed
wants to merge 13 commits into from

Commits on Dec 5, 2021

  1. Add spin_loop hint for RISC-V architecture

    This commit also updates `stdarch` git submodule.
    luojia65 committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    70855b2 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

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

Commits on Dec 8, 2021

  1. add tests

    b-naber committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    c7f80fc View commit details
    Browse the repository at this point in the history
  2. Remove redundant [..]s

    est31 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    15de4cb View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. rustdoc: Show type layout for type aliases

    At first, you might think, "Why not just click through to the aliased
    type?" But, if a type alias instantiates all of the generic parameters
    of the aliased type, then it can show layout info even though the
    aliased type cannot (because we can't compute layout for generic types).
    So, I think it's useful to show layout info for type aliases.
    
    This is a followup of 78d4b453ad2e19d44011b26fc55c949bff5dba3d
    (originally part of rust-lang#83501).
    camelid committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    e36da67 View commit details
    Browse the repository at this point in the history
  2. Improve the readability of List<T>.

    This commit does the following.
    - Expands on some of the things already mentioned in comments.
    - Describes the uniqueness assumption, which is critical but wasn't
      mentioned at all.
    - Rewrites `empty()` into a clearer form, as provided by Daniel
      Henry-Mantilla on Zulip.
    - Reorders things slightly so that more important things
      are higher up, and incidental things are lower down, which makes
      reading the code easier.
    nnethercote committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    769a707 View commit details
    Browse the repository at this point in the history
  3. Update stdarch dependency

    luojia65 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    0ccf58b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#91426 - eggyal:idfunctor-panic-safety, r=lcnr

    Make IdFunctor::try_map_id panic-safe
    
    Addresses FIXME comment created in rust-lang#78313
    
    r? `@lcnr`
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    4911144 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#91548 - luojia65:hint-spin-loop-riscv, r=Am…

    …anieu
    
    Add spin_loop hint for RISC-V architecture
    
    This commit uses the PAUSE instruction (rust-lang/stdarch#1262) to implement RISC-V spin loop, and updates `stdarch` submodule to use the merged PAUSE instruction.
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    27974b9 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#91617 - nnethercote:improve-List-readabilit…

    …y, r=lcnr
    
    Improve the readability of `List<T>`.
    
    This commit does the following.
    - Expands on some of the things already mentioned in comments.
    - Describes the uniqueness assumption, which is critical but wasn't
      mentioned at all.
    - Rewrites `empty()` into a clearer form, as provided by Daniel
      Henry-Mantilla on Zulip.
    - Reorders things slightly so that more important things
      are higher up, and incidental things are lower down, which makes
      reading the code easier.
    
    r? `@lcnr`
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    d06376e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#91625 - est31:remove_indexes, r=oli-obk

    Remove redundant [..]s
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    4bad5f5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#91678 - b-naber:tests-for-postpone-const-ev…

    …al, r=jackh726
    
    Add tests fixed by rust-lang#90023
    
    The following issues were fixed by rust-lang#90023
    
    Fixes rust-lang#79674
    Fixes rust-lang#83765
    Fixes rust-lang#86033
    Fixes rust-lang#90318
    Fixes rust-lang#88468
    
    The following issues were duplicates of rust-lang#90654
    
    Fixes rust-lang#86850
    Fixes rust-lang#89022
    
    r? `@jackh726`
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    cae744e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#91682 - camelid:alias-layout, r=jyn514

    rustdoc: Show type layout for type aliases
    
    Fixes rust-lang#91265.
    
    At first, you might think, "Why not just click through to the aliased
    type?" But, if a type alias instantiates all of the generic parameters
    of the aliased type, then it can show layout info even though the
    aliased type cannot (because we can't compute layout for generic types).
    So, I think it's useful to show layout info for type aliases.
    
    This is a followup of 78d4b453ad2e19d44011b26fc55c949bff5dba3d
    (originally part of rust-lang#83501).
    matthiaskrgr authored Dec 9, 2021
    Configuration menu
    Copy the full SHA
    1eac9b7 View commit details
    Browse the repository at this point in the history