Merged
Conversation
This reverts commit 3ece63b.
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.
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.
`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.
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`
…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.
Sync portable-simd to fix libcore build for AVX-512 enabled targets Fixes rust-lang#91484 (comment) cc ``@workingjubilee``
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
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
…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.
rustdoc: Remove unnecessary `need_backline` function r? `@GuillaumeGomez`
Member
Author
|
@bors r+ rollup=never p=7 |
Collaborator
|
📌 Commit 3340666 has been approved by |
Collaborator
Collaborator
|
☀️ Test successful - checks-actions |
This was referenced Dec 19, 2021
Collaborator
|
Finished benchmarking commit (41c3017): comparison url. Summary: This change led to moderate relevant improvements 🎉 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
in_band_lifetimesfromrustc_middle#91984 (Removein_band_lifetimesfromrustc_middle)#[thread_local]for all windows-msvc targets #92042 (Enable#[thread_local]for all windows-msvc targets)collapsedfield #92077 (rustdoc: Remove unusedcollapsedfield)need_backlinefunction #92081 (rustdoc: Remove unnecessaryneed_backlinefunction)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup