-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 10 pull requests #80960
Merged
Merged
Rollup of 10 pull requests #80960
Conversation
This file contains 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
Support for both can be useful when creating new firmware, boot loaders, or embedded operating systems.
This allows us to return borrows of the captured backtrace frames that are tied to a borrow of the Backtrace itself, instead of to some short-lived Mutex guard. It also makes it semantically clearer what synchronization is needed on the capture.
Per rust-lang#80832, using --pretty=expanded and --remap-path-prefix results in an ICE. This is becasue the session source files table is stored in remapped form, whereas --pretty-expanded looks up unremapped files. This remaps the path prefixes before lookup.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
…tebank diagnostics: Note capturing closures can't be coerced to fns Fixes rust-lang#72457, fixes rust-lang#71895 r? `@estebank`
Provide more information for HRTB lifetime errors involving closures
Remove redundant def_id lookups Simplify `DefId -> LocalDefId -> HirId -> LocalDefId -> DefId` chains.
Added support for i386-unknown-linux-gnu and i486-unknown-linux-gnu Support for both can be useful when creating new firmware, boot loaders, or embedded operating systems.
use Once instead of Mutex to manage capture resolution For rust-lang#78299 This allows us to return borrows of the captured backtrace frames that are tied to a borrow of the Backtrace itself, instead of to some short-lived Mutex guard. We could alternatively share `&Mutex<Capture>`s and lock on-demand, but then we could potentially forget to call `resolve()` before working with the capture. It also makes it semantically clearer what synchronization is needed on the capture. cc `@seanchen1991` `@rust-lang/project-error-handling`
Update to LLVM 11.0.1 This updates to a new LLVM branch, rebased on the upstream `llvmorg-11.0.1`. All our patches applied cleanly except the fortanix unwind changes, which just needed a small adjustment in cmake files. r? `@nikic` Fixes rust-lang#73722
Fix --pretty=expanded with --remap-path-prefix Per rust-lang#80832, using --pretty=expanded and --remap-path-prefix results in an ICE. This is becasue the session source files table is stored in remapped form, whereas --pretty-expanded looks up unremapped files. This remaps the path prefixes before lookup. ~~There don't appear to be any existing tests for --pretty=expanded; I'll look into adding some.~~ Never mind, found the pretty tests. Fixes rust-lang#80832
…debug, r=wesleywiser Revert "Auto merge of rust-lang#76896 - spastorino:codegen-inline-fns2 This reverts commit ddf2cc7, reversing changes made to 937f629. As `@alexcrichton` pointed out in rust-lang#80916 there's a problem with the taken approach.
Fix rustdoc --test-builder argument parsing My suggested fix to issue rust-lang#80893. I can actually hook Miri in there now. I also fixed what I believe to be a typo in the option's help text.
…e, r=petrochenkov Rename `rustc_middle::lint::LevelSource` to `LevelAndSource` This continues work in rust-lang#80274 to improve code readability. This naming follows a pattern seen elsewhere in the compiler (e.g. [`rustc_middle::ty::TypeAndMut`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TypeAndMut.html)).
@bors r+ rollup=never p=5 |
📌 Commit 5b90fe1 has been approved by |
bors
added
the
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Jan 13, 2021
☀️ Test successful - checks-actions |
This was referenced Jan 13, 2021
There were perf regressions in this rollup. They seem to be largely in llvm so I suspect the update to LLVM 11.01 in #80796 might be to blame. @rust-timer make-pr-for 330e196 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
merged-by-bors
This PR was explicitly merged by bors.
rollup
A PR which is a rollup
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
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:
rustc_middle::lint::LevelSource
toLevelAndSource
#80935 (Renamerustc_middle::lint::LevelSource
toLevelAndSource
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup