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 9 pull requests #130066

Merged
merged 24 commits into from
Sep 7, 2024
Merged

Commits on Aug 9, 2024

  1. call Cargo::configure_linker only for specific commands

    Calling `Cargo::configure_linker` unconditionally slows down certain
    commands (e.g., "check" command) without providing any benefit.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9a29081 View commit details
    Browse the repository at this point in the history
  2. don't try to find target tools on certain commands

    For commands like check/clean there is no need to check for target tools.
    Avoiding this check can also speed up the process.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    94fbe14 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. [testsuite][cleanup] Remove all usages of dont_merge hack to avoid …

    …function merging
    
    Resolves rust-lang#129438
    
    The `-Zmerge-functions=disabled` compile flag exists for this purpose.
    Rajveer100 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    b324fcb View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Update Tests

    veera-sivarajan committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    265cd14 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. rustc_codegen_llvm: fix a regression where backchain feature ...

    ... can not be correctly gated using #[cfg] macro
    liushuyu committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    e98e88b View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

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

Commits on Sep 5, 2024

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

Commits on Sep 6, 2024

  1. Adjust doc comment of Condvar::wait_while

    The existing phrasing implies that a notification must be received for `wait_while` to return. The phrasing is changed to better reflect the behavior.
    rawler committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    96837dc View commit details
    Browse the repository at this point in the history
  2. Do not request sanitizers for naked functions

    Naked functions can only contain inline asm, so any instrumentation
    inserted by sanitizers is illegal. Don't request it.
    
    Fixes rust-lang#129224.
    nikic committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    54ebb9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e38764d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dcfc713 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    547db4a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9e2d264 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Add missing quotation marks

    Signed-off-by: cuishuang <imcusg@gmail.com>
    cuishuang committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    be10d56 View commit details
    Browse the repository at this point in the history
  2. Add Suggestions for Misspelled Keywords

    This PR detects misspelled keywords using two heuristics:
    
    1. Lowercasing the unexpected identifier.
    2. Using edit distance to find a keyword similar to the unexpected identifier.
    
    However, it does not detect each and every misspelled keyword to
    minimize false positives and ambiguities. More details about the
    implementation can be found in the comments.
    veera-sivarajan committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    14e86eb View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#128871 - onur-ozkan:128180, r=Kobzol

    bypass linker configuration and cross target check for specific commands
    
    Avoids configuring the linker and checking cross-target-specific tools unless necessary.
    
    Resolves rust-lang#128180
    
    cc `@ChrisDenton`
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    5a2ebb5 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#129468 - Rajveer100:hack-to-avoid-function-…

    …merging, r=Mark-Simulacrum
    
    [testsuite][cleanup] Remove all usages of `dont_merge` hack to avoid function merging
    
    Resolves rust-lang#129438
    
    The `-Zmerge-functions=disabled` compile flag exists for this purpose.
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    adcee23 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#129614 - rawler:patch-1, r=tgross35

    Adjust doc comment of Condvar::wait_while
    
    The existing phrasing implies that a notification must be received for `wait_while` to return. The phrasing is changed to make no such implication.
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    040be55 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#129840 - GrigorenkoPV:elided-named-lifetime…

    …s-suggestion, r=cjgillot
    
    Implement suggestions for `elided_named_lifetimes`
    
    A follow-up to rust-lang#129207, as per rust-lang#129207 (comment).
    
    r? cjgillot
    
    I will probably squash this a bit, but later.
    
    `@rustbot` label +A-lint
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    41a20dc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#129891 - nikic:naked-no-san, r=jackh726

    Do not request sanitizers for naked functions
    
    Naked functions can only contain inline asm, so any instrumentation inserted by sanitizers is illegal. Don't request it.
    
    Fixes rust-lang#129224.
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    6dd07e4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#129899 - veera-sivarajan:fix-97793-pr-final…

    …, r=chenyukang
    
    Add Suggestions for Misspelled Keywords
    
    Fixes rust-lang#97793
    
    This PR detects misspelled keywords using two heuristics:
    
    1. Lowercasing the unexpected identifier.
    2. Using edit distance to find a keyword similar to the unexpected identifier.
    
    However, it does not detect each and every misspelled keyword to
    minimize false positives and ambiguities. More details about the
    implementation can be found in the comments.
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    d6a4298 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#129940 - liushuyu:s390x-target-features, r=…

    …RalfJung
    
    s390x: Fix a regression related to backchain feature
    
    In rust-lang#127506, we introduced a new IBM Z-specific target feature, `backchain`.
    
    This particular `target-feature` was available as a function-level attribute in LLVM 17 and below, so some hacks were used to avoid blowing up LLVM when querying the supported LLVM features.
    
    This led to an unfortunate regression where `cfg!(target-feature = "backchain")` will always return true.
    
    This pull request aims to fix this issue, and a test has been introduced to ensure it will never happen again.
    
    Fixes rust-lang#129927.
    
    r? `@RalfJung`
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    bc2244f View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#129987 - compiler-errors:capture-place-regi…

    …on, r=davidtwco
    
    Don't store region in `CapturedPlace`
    
    It's not necessary anymore, since we erase all regions in writeback anyways.
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    9936179 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#130054 - cuishuang:master, r=chenyukang

    Add missing quotation marks
    compiler-errors authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    b09b7da View commit details
    Browse the repository at this point in the history