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 #126886

Closed
wants to merge 21 commits into from

Commits on Jun 21, 2024

  1. std::unix::fs: copy simplification for apple.

    since we do support from macOs Sierra, we avoid the little runtime overhead
    with the fclonefileat symbol check.
    devnexen committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    65530ba View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. cargo update

         Locking 9 packages to latest compatible versions
        Updating clap_complete v4.5.5 -> v4.5.6
        Updating displaydoc v0.2.4 -> v0.2.5
        Removing icu_collections v1.5.0
        Removing icu_normalizer v1.5.0
        Removing icu_normalizer_data v1.5.0
        Removing icu_properties v1.5.0
        Removing icu_properties_data v1.5.0
     Downgrading idna v1.0.0 -> v0.5.0 (latest: v1.0.1)
        Updating lazy_static v1.4.0 -> v1.5.0
        Updating miniz_oxide v0.7.3 -> v0.7.4
        Updating proc-macro2 v1.0.85 -> v1.0.86
        Updating syn v2.0.66 -> v2.0.67
          Adding unicode-bidi v0.3.15
        Updating url v2.5.1 -> v2.5.2
        Removing utf16_iter v1.0.5
        Removing utf8_iter v1.0.4
        Removing write16 v1.0.0
    note: pass `--verbose` to see 85 unchanged dependencies behind latest
    github-actions committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    9905357 View commit details
    Browse the repository at this point in the history
  2. For [E0308]: mismatched types, when expr is in an arm's body, not add…

    … semicolon ';' at the end of it.
    
    fixes rust-lang#126222
    surechen committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    e8b5ba1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d8f734 View commit details
    Browse the repository at this point in the history
  4. std::unix::os::home_dir: fallback's optimisation.

    we're using a guaranteed initialised field on success.
    devnexen committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    bd9ce3e View commit details
    Browse the repository at this point in the history
  5. fix build

    devnexen committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    fc50aca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    29113bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    10990e2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    03d73fa View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    16fef40 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a426d6f View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    a23917c View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#126177 - carbotaniuman:unsafe_attr_errors, …

    …r=jieyouxu
    
    Add hard error and migration lint for unsafe attrs
    
    More implementation work for rust-lang#123757
    
    This adds the migration lint for unsafe attributes, as well as making it a hard error in Rust 2024.
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    057236a View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#126298 - heiher:loongarch64-musl-ci, r=Mark…

    …-Simulacrum
    
    Promote loongarch64-unknown-linux-musl to Tier 2 with host tools
    
    MCP: rust-lang/compiler-team#753
    Tracking issue: rust-lang#122592
    
    try-job: dist-loongarch64-musl
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    6ec7f2a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#126455 - surechen:fix_126222, r=estebank

    For [E0308]: mismatched types, when expr is in an arm's body, not add semicolon ';' at the end of it.
    
    For [E0308]: mismatched types, when expr is in an arm's body, and it is the end expr without a semicolon of the block, not add semicolon ';' at the end of it.
    
    fixes rust-lang#126222
    
    <!--
    If this PR is related to an unstable feature or an otherwise tracked effort,
    please link to the relevant tracking issue here. If you don't know of a related
    tracking issue or there are none, feel free to ignore this.
    
    This PR will get automatically assigned to a reviewer. In case you would like
    a specific user to review your work, you can assign it to them by using
    
        r​? <reviewer name>
    -->
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    fa5d4d0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#126754 - compiler-errors:use-rustfmt, r=cal…

    …ebcartwright
    
    Implement `use<>` formatting in rustfmt
    
    This PR implements formatting for precise-capturing `use<>` syntax as proposed in rust-lang#126753.
    
    The syntax is implemented as-if the `use<>` bound were a trait bound but with the `use` keyword as its path segment identifier.
    
    I opted to develop this in the rust-lang/rust tree since I'm not certain when the next rustfmt subtree sync is going to be, and I'd rather not block landing nightly support for `use<>` on something I have no control over. If `@rust-lang/rustfmt` would rather I move this PR over to that repository, then I would at least like to know when the next rustfmt->rust subtree sync is going to be, since stabilizing `precise_capturing` without formatting will be disruptive.
    
    This implementation is otherwise rather straightforward.
    
    Tracking:
    
    - rust-lang#123432
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    91168f2 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#126807 - devnexen:copy_file_macos_simpl, r=…

    …Mark-Simulacrum
    
    std::unix::fs: copy simplification for apple.
    
    since we do support from macOs Sierra, we avoid the little runtime overhead with the fclonefileat symbol check.
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    07ed427 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#126845 - rust-lang:cargo_update, r=Mark-Sim…

    …ulacrum
    
    Weekly `cargo update`
    
    Automation to keep dependencies in `Cargo.lock` current.
    
    The following is the output from `cargo update`:
    
    ```txt
         Locking 9 packages to latest compatible versions
        Updating clap_complete v4.5.5 -> v4.5.6
        Updating displaydoc v0.2.4 -> v0.2.5
        Removing icu_collections v1.5.0
        Removing icu_normalizer v1.5.0
        Removing icu_normalizer_data v1.5.0
        Removing icu_properties v1.5.0
        Removing icu_properties_data v1.5.0
     Downgrading idna v1.0.0 -> v0.5.0 (latest: v1.0.1)
        Updating lazy_static v1.4.0 -> v1.5.0
        Updating miniz_oxide v0.7.3 -> v0.7.4
        Updating proc-macro2 v1.0.85 -> v1.0.86
        Updating syn v2.0.66 -> v2.0.67
          Adding unicode-bidi v0.3.15
        Updating url v2.5.1 -> v2.5.2
        Removing utf16_iter v1.0.5
        Removing utf8_iter v1.0.4
        Removing write16 v1.0.0
    note: pass `--verbose` to see 85 unchanged dependencies behind latest
    ```
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    3005eed View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#126849 - workingjubilee:correctly-classify-…

    …arm-low-dregs, r=Amanieu
    
    Fix 32-bit Arm reg classes by hierarchically sorting them
    
    We were rejecting legal `asm!` because we were asking for the "greatest" feature that includes a register class, instead of the "least" feature that includes a register class. This was only revealed on certain 32-bit Arm targets because not all have the same register limitations.
    
    This is a somewhat hacky solution, but other solutions would require potentially rearchitecting how the internals of parsing or rejecting register classes work for all targets.
    
    Fixes rust-lang#126797
    
    r​? `@Amanieu`
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    dcd2d6e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#126854 - devnexen:std_unix_os_fallback_upd,…

    … r=Mark-Simulacrum
    
    std::unix::os::home_dir: fallback's optimisation.
    
    we're using a guaranteed initialised field on success.
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    12d7736 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#126861 - GuillaumeGomez:migrate-run-make-in…

    …valid-library, r=Kobzol
    
    Migrate `run-make/invalid-library` to `rmake.rs`
    
    Part of rust-lang#121876.
    
    r? `@jieyouxu`
    workingjubilee authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    969bbc6 View commit details
    Browse the repository at this point in the history