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 10 pull requests #126126

Closed
wants to merge 36 commits into from

Commits on Apr 16, 2024

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

Commits on Jun 5, 2024

  1. Update ./x fmt command

    ChrisDenton committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    a272f8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35130d7 View commit details
    Browse the repository at this point in the history
  3. Simplify the rayon calls in the installer

    Rayon's `try_for_each` makes the `CombinedEncoder` a lot simpler.
    cuviper committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    c0e2543 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. prefer compile::stream_cargo for building tools

    Previously, we were running bare commands for `ToolBuild` step and
    were unable to utilize some of the flags which  are already handled by
    `compile::stream_cargo`.
    
    This change makes `ToolBuild` to use `compile::stream_cargo`, allowing us
    to benefit from the flags supported by the bootstrap cargo.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c76e59e View commit details
    Browse the repository at this point in the history
  2. Stabilize Option::take_if

    wutchzone committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    26dc8bd View commit details
    Browse the repository at this point in the history
  3. Stabilise c_unwind

    nbdd0121 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    9df648e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cbe1339 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f544c4d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    67f5dd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4de986 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ec492f View commit details
    Browse the repository at this point in the history
  4. Add tests

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    48851d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    230b58f View commit details
    Browse the repository at this point in the history
  6. Fix doc comment

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    68719e0 View commit details
    Browse the repository at this point in the history
  7. Add double unsafe test

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b82c524 View commit details
    Browse the repository at this point in the history
  8. Fix build

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    87be1ba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8aa2553 View commit details
    Browse the repository at this point in the history
  10. Fix formatting

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    15f8ffe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1cc4e8c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    453093b View commit details
    Browse the repository at this point in the history
  13. Fix ordering

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    f83cdbd View commit details
    Browse the repository at this point in the history
  14. Handle safe case

    carbotaniuman committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    f9104f0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7eff2d9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    eac63b7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3eb5341 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#116088 - nbdd0121:unwind, r=Amanieu,RalfJung

    Stabilise `c_unwind`
    
    Fix rust-lang#74990
    Fix rust-lang#115285 (that's also where FCP is happening)
    
    Marking as draft PR for now due to `compiler_builtins` issues
    
    r? ``@Amanieu``
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    9a33347 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#124012 - slanterns:as_slice_stabilize, r=Bu…

    …rntSushi
    
    Stabilize `binary_heap_as_slice`
    
    This PR stabilizes `binary_heap_as_slice`:
    
    ```rust
    // std::collections::BinaryHeap
    
    impl BinaryHeap<T> {
        pub fn as_slice(&self) -> &[T]
    }
    ```
    
    <br>
    
    Tracking issue: rust-lang#83659.
    Implementation PR: rust-lang#82331.
    
    FCPs already completed in the tracking issue.
    
    Closes rust-lang#83659.
    
    r? libs-api
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    397e9ee View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#124214 - carbotaniuman:parse_unsafe_attrs, …

    …r=michaelwoerister
    
    Parse unsafe attributes
    
    Initial parse implementation for rust-lang#123757
    
    This is the initial work to parse unsafe attributes, which is represented as an extra `unsafety` field in `MetaItem` and `AttrItem`. There's two areas in the code where it appears that parsing is done manually and not using the parser stuff, and I'm not sure how I'm supposed to thread the change there.
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    2f7dc81 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#125572 - mu001999-contrib:dead/enhance, r=p…

    …nkfelix
    
    Detect pub structs never constructed and unused associated constants
    
    <!--
    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>
    -->
    
    Lints never constructed public structs.
    
    If we don't provide public methods to construct public structs with private fields, and don't construct them in the local crate. They would be never constructed. So that we can detect such public structs.
    
    ---
    Update:
    
    Also lints unused associated constants in traits.
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    3e0a98e View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#125781 - onur-ozkan:improve-tool-builder, r…

    …=albertlarsan68
    
    prefer `compile::stream_cargo` for building tools
    
    Previously, we were running bare commands for `ToolBuild` step and were unable to utilize some of the flags which  are already handled by `compile::stream_cargo`.
    
    This change makes `ToolBuild` to use `compile::stream_cargo`, allowing us to benefit from the flags supported by the bootstrap cargo.
    
    Resolves rust-lang#125666
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    37926ee View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#126030 - ChrisDenton:update-wingen-readme, …

    …r=Mark-Simulacrum
    
    Update `./x fmt` command in library/std/src/sys/pal/windows/c/README.md
    
    `./x fmt` no longer accepts paths so the command in the readme won't work.
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    70e1b80 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#126047 - cuviper:installer-try_for_each, r=…

    …albertlarsan68
    
    Simplify the rayon calls in the installer
    
    Rayon's `try_for_each` makes the `CombinedEncoder` a lot simpler.
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    60a590a View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#126089 - wutchzone:option_take_if, r=scottmcm

    Stabilize Option::take_if
    
    Closes rust-lang#98934
    
    ed: FCP complete in rust-lang#98934 (comment)
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b9eaf6c View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#126112 - Kobzol:runmake-source-root, r=jiey…

    …ouxu
    
    Clean up source root in run-make tests
    
    The name `S` isn't exactly the most descriptive, and we also shouldn't need to pass it when building (actually I think that most of the env. vars that we pass to `cargo` here are probably not really needed).
    
    Related issue: rust-lang#126071
    
    r? ``@jieyouxu``
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    773f4a5 View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#126119 - Zalathar:emit-filename, r=ehuss

    Improve docs for using custom paths with `--emit`
    
    Recently I found myself concluding that this feature didn't exist (rust-lang#126111 (comment)), despite having read the documentation, because it was hidden away in the middle of a paragraph full of other information.
    
    Giving this documentation more space of its own should make it easier to find.
    matthiaskrgr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    5c96adc View commit details
    Browse the repository at this point in the history