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 11 pull requests #106818

Closed
wants to merge 28 commits into from

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    2538c0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8276c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e2a356 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12ddf77 View commit details
    Browse the repository at this point in the history
  5. review comments

    estebank committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    147c9bf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c6f322b View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    8917e99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c825459 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eafbca9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5457140 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    eaa7cc8 View commit details
    Browse the repository at this point in the history
  2. Normalize test output more thoroughly

    This prevents differences in local environments, which may (for example)
    end up with a longer backtrace with more digits in the backtrace prefix,
    as happened to me. While we're at it, clean more of the output up,
    including the exact location of the error in the compiler.
    Mark-Simulacrum committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    95ef76b View commit details
    Browse the repository at this point in the history
  3. riscv: Fix ELF header flags

    The previous version added both `EF_RISCV_FLOAT_ABI_DOUBLE` and
    `EF_RISCV_RVC` if the "D" extension was enabled on riscv64 targets.
    riscv32 targets were not accounted for. This patch changes this
    so that:
    
    - Only add `EF_RISCV_RVC` if the "C" extension is enabled
    - Add `EF_RISCV_FLOAT_ABI_SINGLE` if the "F" extension is enabled
      and the "D" extension is not
    - Add these ELF flags for riscv32 as well
    FawazTirmizi committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    138a1d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    549ece7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4aca7be View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    958fc4d View commit details
    Browse the repository at this point in the history
  7. Improve linker-flavor detection

    Linker drivers such as gcc, clang or lld often have a version postfix,
    e.g clang-12. The previous logic would not account for this and would
    fall back to guessing the linker flavor to be the default linker flavor
    for the target, which causes linker errors when this is not the case.
    By accounting for the possible version postfix and also considering
    g++ and clang++, we considerably reduce the amount of times the
    fallback guess has to be used.
    
    To simplify matching check for a version postfix and match against the
    linker stem without any version postfix.
    In contrast to gcc, clang supports all architectures in one binary.
    This means there are no variants like `aarch64-linux-gnu-clang` and
    there is no need to check for `-clang` variants.
    jschwe committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    3bc2970 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#104645 - yukiomoto:log-backtrace-option, r=…

    …oli-obk
    
    Add log-backtrace option to show backtraces along with logging
    
    according to rust-lang#90698, I added a compiler option, `-Zlog-backtrace=filter`, where `filter` is a module name, to show backtraces for logging without rebuilding.
    
    resolve rust-lang#90698
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    67379b5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#106465 - compiler-errors:bump-IMPLIED_BOUND…

    …S_ENTAILMENT, r=lcnr
    
    Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow
    
    rust-lang#105575 (comment)
    
    > and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle.
    
    r? ``@lcnr`` when they're back from holiday 😄
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    9a1d529 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#106489 - jschwe:fix_linker_detection, r=pet…

    …rochenkov
    
    Fix linker detection for linker (drivers) with a version postfix (e.g. clang-12 instead of clang)
    
    Linker (drivers) such as clang / gcc or lld often have a version postfix matching the regex "-\d+$".
    Previously, linker detection did not account for the possible version postfix and the fallback value was used, which can cause linker errors due to wrong arguments.
    Also remove the check for `-clang`, since there are no architecture specific variants of clang (to my knowledge).
    
    Fixes rust-lang#106454
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    d986a55 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#106585 - estebank:issue-46585, r=compiler-e…

    …rrors
    
    When suggesting writing a fully qualified path probe for appropriate types
    
    Address the more common part of rust-lang#46585.
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    61871e3 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#106641 - chenyukang:yukang/fix-105761-seggu…

    …est-this, r=estebank
    
    Provide help on closures capturing self causing borrow checker errors
    
    Fixes rust-lang#105761
    
    r? ```@estebank```
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    62f41ca View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#106678 - Veykril:proc-macro-panic-abort, r=…

    …eholk
    
    Warn when using panic-strategy abort for proc-macro crates
    
    See rust-lang#82320, this simply warns for now as that seems like the best step that can be immediately taken (opposed to straight up rejecting or ignoring)
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    822d4d2 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#106701 - ibraheemdev:sync-sender-spin, r=Am…

    …anieu
    
    Fix `mpsc::SyncSender` spinning behavior
    
    Resolves rust-lang#106668.
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    6746469 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#106793 - Mark-Simulacrum:normalize-test, r=…

    …compiler-errors
    
    Normalize test output more thoroughly
    
    This prevents differences in local environments, which may (for example) end up with a longer backtrace with more digits in the backtrace prefix, as happened to me. While we're at it, clean more of the output up, including the exact location of the error in the compiler.
    
    cc rust-lang#106521 which introduced this test
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    24a4c9a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#106797 - FawazTirmizi:dev/issues/104284, r=…

    …bjorn3
    
    riscv: Fix ELF header flags
    
    The previous version added both `EF_RISCV_FLOAT_ABI_DOUBLE` and `EF_RISCV_RVC` if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:
    
    - Only add `EF_RISCV_RVC` if the "C" extension is enabled
    - Add `EF_RISCV_FLOAT_ABI_SINGLE` if the "F" extension is enabled and the "D" extension is not
    - Add these ELF flags for riscv32 as well
    
    Fixes rust-lang#104284
    
    r? rust-lang/risc-v
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    41c0c4b View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#106813 - oli-obk:sess_cleanup, r=GuillaumeG…

    …omez,petrochenkov
    
    Remove redundant session field
    
    There was already a session available in the resolver, so we access that session.
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    213b4cf View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#106816 - TimNN:rental-remap, r=oli-obk

    Update `rental` hack to work with remapped paths.
    
    This PR simply switches to an already-existing helper instead of hard-coding a specific enum variant. The new revision of the test fails without the other changes in this PR.
    
    Context: I'm exploring running UI tests with remapped paths by default in rust-lang#105924 and the rental test was one of the ones that failed.
    
    This may also be useful in the context of rust-lang/rfcs#3127 ("New rustc and Cargo options to allow path sanitisation by default").
    matthiaskrgr authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    6a77868 View commit details
    Browse the repository at this point in the history