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 5 pull requests #117255

Closed
wants to merge 14 commits into from
Closed

Commits on Oct 25, 2023

  1. Add support for i586-unknown-netbsd as target.

    This restricts instructions to those offered by Pentium,
    to support e.g. AMD Geode.
    
    There is already an entry for this target in the NetBSD
    platform support page at
    
      src/doc/rustc/src/platform-support/netbsd.md
    
    ...so this should forestall its removal.
    
    Additional fixes are needed for some vendored modules, this
    is the changes in the rust compiler core itself.
    he32 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    6642b4b View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. rustc_llvm/build.rs: improve comment for NetBSD/i386 targets

    ...explaining why we need -latomic (gcc & g++ built for i486,
    and LLVM insisting on use of 64-bit atomics).
    he32 committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    391b472 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4392230 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27919ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    828f069 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ef96a9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    351ca15 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e2122e7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    87dc85d View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Rollup merge of rust-lang#116858 - estebank:issue-22488, r=petrochenkov

    Suggest assoc fn `new` when trying to build tuple struct with private fields
    
    Fix rust-lang#22488.
    TaKO8Ki committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    31e949e View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#116868 - estebank:suggestion, r=petrochenkov

    Tweak suggestion span for outer attr and point at item following invalid inner attr
    
    After:
    
    ```
    error: `unix_sigpipe` attribute cannot be used at crate level
      --> $DIR/unix_sigpipe-crate.rs:2:1
       |
    LL | #![unix_sigpipe = "inherit"]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    LL |
    LL | fn main() {}
       | ------------ the inner attribute doesn't annotate this function
       |
    help: perhaps you meant to use an outer attribute
       |
    LL - #![unix_sigpipe = "inherit"]
    LL + #[unix_sigpipe = "inherit"]
       |
    ```
    
    Before:
    
    ```
    error: `unix_sigpipe` attribute cannot be used at crate level
      --> $DIR/unix_sigpipe-crate.rs:2:1
       |
    LL | #![unix_sigpipe = "inherit"]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
    help: perhaps you meant to use an outer attribute
       |
    LL | #[unix_sigpipe = "inherit"]
       | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ```
    
    CC rust-lang#89566.
    TaKO8Ki committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d20f6f9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#117025 - Urgau:cleanup-improve-check-cfg-im…

    …pl, r=petrochenkov
    
    Cleanup and improve `--check-cfg` implementation
    
    This PR removes some indentation in the code, as well as preventing some bugs/misusages and fix a nit in the doc.
    
    r? `@petrochenkov` (maybe)
    TaKO8Ki committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2a45905 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#117170 - he32:netbsd-i586, r=bjorn3

    Add support for i586-unknown-netbsd as target.
    
    This restricts instructions to those offered by Pentium, to support e.g. AMD Geode.
    
    There is already an entry for this target in the NetBSD platform support page at
    
      src/doc/rustc/src/platform-support/netbsd.md
    
    ...so this should forestall its removal.
    
    Additional fixes are needed for some vendored modules, this is the changes in the rust compiler core itself.
    TaKO8Ki committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4e85203 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#117240 - trueNAHO:docs-std-iter-Iterator-co…

    …llect-into-fix-typo, r=the8472
    
    Fix documentation typo in std::iter::Iterator::collect_into
    TaKO8Ki committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    248bb0c View commit details
    Browse the repository at this point in the history