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

Merged
merged 19 commits into from
Dec 19, 2021
Merged

Rollup of 7 pull requests #92099

merged 19 commits into from
Dec 19, 2021

Commits on Nov 22, 2021

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

Commits on Dec 4, 2021

  1. Remove Select trait

    calebzulawski committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    d9f82f9 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2021

  1. Merge portable-simd#207 - ./feature/simplify-select

    Remove Select trait
    
    I realized that our `select` implementation predated `Simd` being generic over element type, and we don't really need the `Select` trait at all. The function signature is much simpler now (generic over element type, rather than over the entire vector). This did require changing mask select to be a different function, but I think that's fine considering they're not necessarily vectors.
    workingjubilee authored Dec 5, 2021
    Configuration menu
    Copy the full SHA
    81484a3 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

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

Commits on Dec 16, 2021

  1. Remove in_band_lifetimes from rustc_middle

    See rust-lang#91867
    
    This was mostly straightforward. In several places, I take advantage
    of the fact that lifetimes are non-hygenic: a macro declares the
    'tcx' lifetime, which is then used in types passed in as macro
    arguments.
    Aaron1011 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    070bf94 View commit details
    Browse the repository at this point in the history
  2. Run x.py fmt

    Aaron1011 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    a5b3dfe View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Configuration menu
    Copy the full SHA
    23c172f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ca26f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    391332c View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. Configuration menu
    Copy the full SHA
    574bc67 View commit details
    Browse the repository at this point in the history
  2. Remove collapsed field

    `render/context` always runs after `run_global_context`, so it was always set to `true`.
    
    This is a holdover from when rustdoc allowed configuring passes, but the `collapse-docs` pass was
    removed ages ago, and the ability to configure passes is about to be removed.
    jyn514 committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    dea1c68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f1f721 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Rollup merge of rust-lang#91141 - jhpratt:int_roundings, r=joshtriplett

    Revert "Temporarily rename int_roundings functions to avoid conflicts"
    
    This reverts commit 3ece63b.
    
    This should be okay because rust-lang#90329 has been merged.
    
    r? `@joshtriplett`
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    6d26895 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#91984 - Aaron1011:rustc-middle-lifetime, r=…

    …oli-obk
    
    Remove `in_band_lifetimes` from `rustc_middle`
    
    See rust-lang#91867
    
    This was mostly straightforward. In several places, I take advantage
    of the fact that lifetimes are non-hygenic: a macro declares the
    'tcx' lifetime, which is then used in types passed in as macro
    arguments.
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    4d5ffc4 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#92028 - petrochenkov:psimd, r=Mark-Simulacrum

    Sync portable-simd to fix libcore build for AVX-512 enabled targets
    
    Fixes rust-lang#91484 (comment)
    cc ``@workingjubilee``
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    a2db900 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#92042 - ChrisDenton:msvc-static-tls, r=nagisa

    Enable `#[thread_local]` for all windows-msvc targets
    
    As it stands, `#[thread_local]` is enabled haphazardly for msvc. It seems all 64-bit targets have it enabled, but not 32-bit targets unless they're also UWP targets (perhaps because UWP was added more recently?). So this PR simply enables it for 32-bit targets as well. I can't think of a reason not to and I've confirmed by running tests locally which pass.
    
    See also rust-lang#91659
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    4dbe966 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#92071 - ajtribick:patch-1, r=the8472

    Update example code for Vec::splice to change the length
    
    The current example for `Vec::splice` illustrates the replacement of a section of length 2 with a new section of length 2. This isn't a particularly interesting case for splice, and makes it look a bit like a shorthand for the kind of manipulations that could be done with a mutable slice.
    
    In order to provide a stronger example, this updates the example to use different lengths for the source and destination regions, and uses a slice from the middle of the vector to illustrate that this does not necessarily have to be at the beginning or the end.
    
    Resolves rust-lang#92067
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    690d6b0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#92077 - jyn514:remove-collapsed, r=Guillaum…

    …eGomez
    
    rustdoc: Remove unused `collapsed` field
    
    `render/context` always runs after `run_global_context`, so it was always set to `true`.
    
    This is a holdover from when rustdoc allowed configuring passes, but the `collapse-docs` pass was
    removed ages ago, and the ability to configure passes is about to be removed.
    
    Found while reviewing rust-lang#91305.
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    1f080f6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#92081 - jyn514:need-backline, r=GuillaumeGomez

    rustdoc: Remove unnecessary `need_backline` function
    
    r? `@GuillaumeGomez`
    matthiaskrgr authored Dec 19, 2021
    Configuration menu
    Copy the full SHA
    3340666 View commit details
    Browse the repository at this point in the history