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

Merged
merged 29 commits into from
Sep 19, 2024
Merged

Rollup of 5 pull requests #130572

merged 29 commits into from
Sep 19, 2024

Commits on Aug 31, 2024

  1. Improve documentation for <integer>::from_str_radix

    Two improvements to the documentation:
    - Document `-` as a valid character for signed integer destinations
    - Make the documentation even more clear that extra whitespace and non-digit characters is invalid. Many other
      languages, e.g. c++, are very permissive in string to integer routines and simply try to consume as much as they can,
      ignoring the rest. This is trying to make the transition for developers who are used to the conversion semantics in
      these languages a bit easier.
    Krappa322 committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    467dbcb View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    a786be5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ebff28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    078b067 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e47168 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c891082 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    afe7907 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    037b978 View commit details
    Browse the repository at this point in the history
  8. [Clippy] Swap single_char_add_str/format_push_string to use diagn…

    …ostic items instead of paths
    GnomedDev committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    28f4c82 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    846ae57 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    15240a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    25da0e2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5b55270 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    372f68b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1890620 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    89532c0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5f42ae1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5f85f73 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    43b8e04 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    364e552 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b2eebee View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    13d5732 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    dc628c8 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b67485e View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#128001 - Krappa322:master, r=scottmcm

    Improve documentation for <integer>::from_str_radix
    
    Two improvements to the documentation:
    - Document `-` as a valid character for signed integer destinations
    - Make the documentation even more clear that extra whitespace and non-digit characters is invalid. Many other languages, e.g. c++, are very permissive in string to integer routines and simply try to consume as much as they can, ignoring the rest. This is trying to make the transition for developers who are used to the conversion semantics in these languages a bit easier.
    matthiaskrgr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    767ae2b View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#130553 - GnomedDev:remove-clippy-paths, r=c…

    …ompiler-errors
    
    [Clippy] Get rid of most `std` `match_def_path` usage, swap to diagnostic items.
    
    Part of rust-lang/rust-clippy#5393.
    
    This was going to remove all `std` paths, but `SeekFrom` has issues being cleanly replaced with a diagnostic item as the paths are for variants, which currently cannot be diagnostic items.
    
    This also, as a last step, categories the paths to help with future path removals.
    matthiaskrgr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    569153a View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#130554 - ShE3py:unsupported-exitcode, r=Nor…

    …atrieb
    
    `pal::unsupported::process::ExitCode`: use an `u8` instead of a `bool`
    
    `ExitCode` should “represents the status code the current process can return to its parent under normal termination”, but is currently represented as a `bool` on unsupported platforms, making the `impl From<u8> for ExitCode` lossy.
    
    Fixes rust-lang#130532.
    
    History: [IRLO thread](https://internals.rust-lang.org/t/mini-pre-rfc-redesigning-process-exitstatus/5426) (`ExitCode` as a `main` return), rust-lang#48618 (initial impl), rust-lang#93445 (`From<u8>` impl).
    matthiaskrgr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    553c20c View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#130556 - Urgau:link_cfg_internal, r=jieyouxu

    Mark the `link_cfg` feature as internal
    
    This PR marks the `link_cfg` feature as internal because it's a perme-unstable feature, only used by `core`/`std`and `unwind`.
    matthiaskrgr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    9f0d32c View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#130558 - taiki-e:s390x-atomic-128, r=cuviper

    Support 128-bit atomics on s390x
    
    Since LLVM 18 (llvm/llvm-project@c568927), 128-bit atomics are fully supported on s390x. And the current minimum external LLVM version is now 18 (rust-lang#130487).
    
    s390x 128-bit atomic instructions (lpq,stpq,cdsg) has been present since [the First Edition of the Principles of Operation](https://publibfp.dhe.ibm.com/epubs/pdf/dz9zr000.pdf). (LLVM's minimal supported architecture level [is z10 (the Eighth Edition of the PoP)](https://github.com/llvm/llvm-project/blob/llvmorg-19.1.0/llvm/lib/Target/SystemZ/SystemZProcessors.td#L16-L17).)
    
    cc rust-lang#99069
    
    r? `@cuviper`
    matthiaskrgr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    f715815 View commit details
    Browse the repository at this point in the history