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 10 pull requests #80960

Merged
merged 24 commits into from
Jan 13, 2021
Merged

Rollup of 10 pull requests #80960

merged 24 commits into from
Jan 13, 2021

Commits on Nov 29, 2020

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

Commits on Dec 20, 2020

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

Commits on Jan 5, 2021

  1. 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.
    rxrbln committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    a0b0aec View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. use Once instead of Mutex to manage capture resolution

    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.
    KodrAus committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    db4585a View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Update to LLVM 11.0.1

    cuviper committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    c1d9423 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. 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.
    jsgf committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    67978d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. test for issue 80832

    jsgf committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    d7ce9d5 View commit details
    Browse the repository at this point in the history
  2. Revert "Auto merge of rust-lang#76896 - spastorino:codegen-inline-fns…

    …2, r=davidtwco,wesleywiser"
    
    This reverts commit ddf2cc7, reversing
    changes made to 937f629.
    spastorino committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    82d0c59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9756838 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2021

  1. Configuration menu
    Copy the full SHA
    2e3ab43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b18a426 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0401a99 View commit details
    Browse the repository at this point in the history
  4. Simplify regression test

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    teryror and Joshua Nelson committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    f3c8f29 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8a9742 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. Rollup merge of rust-lang#78901 - arora-aman:fix_closure_coerce, r=es…

    …tebank
    
    diagnostics: Note capturing closures can't be coerced to fns
    
    Fixes rust-lang#72457, fixes rust-lang#71895
    
    r? `@estebank`
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    45ba015 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#79588 - estebank:issue-79187, r=oli-obk

    Provide more information for HRTB lifetime errors involving closures
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    11bca6b View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#80232 - bugadani:roundtrip, r=estebank

    Remove redundant def_id lookups
    
    Simplify `DefId -> LocalDefId -> HirId -> LocalDefId -> DefId` chains.
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    ac7267a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#80662 - rxrbln:master, r=estebank

    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.
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    492cb39 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#80736 - KodrAus:feat/lazy-resolve, r=dtolnay

    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`
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    e73ee1d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#80796 - cuviper:llvm-11.0.1, r=nikic

    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
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    330e196 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#80859 - jsgf:fix-pretty-remap, r=davidtwco

    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
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    7ce8246 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#80922 - spastorino:revert-inline-always-in-…

    …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.
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    d64e703 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#80924 - teryror:issue-80893-fix, r=jyn514

    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.
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    c64d3f0 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#80935 - pierwill:rustc_middle-levelandsourc…

    …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)).
    Dylan-DPC committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    5b90fe1 View commit details
    Browse the repository at this point in the history