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

Merged
merged 26 commits into from
Sep 8, 2024
Merged

Rollup of 10 pull requests #130091

merged 26 commits into from
Sep 8, 2024

Commits on Aug 25, 2024

  1. explain the options curl passes to bootstrap

    also fixes a discrepency where the rust side doesn't use -L
    
    must not be merged before rust-lang#129134
    
    docs are only on the rust side, since duplicated prose
    has a tendancy to get out-of-sync, and also because there
    are talks of removing the python script all together eventually.
    lolbinarycat committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    44fac89 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    384aed8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19908ff View commit details
    Browse the repository at this point in the history
  3. add a few more crashtests

    cyrgani committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4a93071 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

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

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    3699e93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9aaf873 View commit details
    Browse the repository at this point in the history
  3. Format lexer

    compiler-errors committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3b3e43a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9791058 View commit details
    Browse the repository at this point in the history
  5. Add some more tests

    compiler-errors committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    afa24f0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5054e8c View commit details
    Browse the repository at this point in the history
  7. Fix tools

    compiler-errors committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    b6a86be View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8966207 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Remove unused option from x.py

    gurry committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    11ee513 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bce7c4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8a7fd4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#126452 - compiler-errors:raw-lifetimes, r=s…

    …pastorino
    
    Implement raw lifetimes and labels (`'r#ident`)
    
    This PR does two things:
    1. Reserve lifetime prefixes, e.g. `'prefix#lt` in edition 2021.
    2. Implements raw lifetimes, e.g. `'r#async` in edition 2021.
    
    This PR additionally extends the `keyword_idents_2024` lint to also check lifetimes.
    
    cc `@traviscross`
    r? parser
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    ccf3f6e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#129555 - RalfJung:const_float_bits_conv, r=…

    …dtolnay
    
    stabilize const_float_bits_conv
    
    This stabilizes `const_float_bits_conv`, and thus fixes rust-lang#72447. With rust-lang#128596 having landed, this is entirely a libs-only question now.
    
    ```rust
    impl f32 {
        pub const fn to_bits(self) -> u32;
        pub const fn from_bits(v: u32) -> Self;
        pub const fn to_be_bytes(self) -> [u8; 4];
        pub const fn to_le_bytes(self) -> [u8; 4]
        pub const fn to_ne_bytes(self) -> [u8; 4];
        pub const fn from_be_bytes(bytes: [u8; 4]) -> Self;
        pub const fn from_le_bytes(bytes: [u8; 4]) -> Self;
        pub const fn from_ne_bytes(bytes: [u8; 4]) -> Self;
    }
    
    impl f64 {
        pub const fn to_bits(self) -> u64;
        pub const fn from_bits(v: u64) -> Self;
        pub const fn to_be_bytes(self) -> [u8; 8];
        pub const fn to_le_bytes(self) -> [u8; 8]
        pub const fn to_ne_bytes(self) -> [u8; 8];
        pub const fn from_be_bytes(bytes: [u8; 8]) -> Self;
        pub const fn from_le_bytes(bytes: [u8; 8]) -> Self;
        pub const fn from_ne_bytes(bytes: [u8; 8]) -> Self;
    }
    ````
    
    Cc `@rust-lang/wg-const-eval` `@rust-lang/libs-api`
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    3b2139b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#129594 - lolbinarycat:explain-curl-options,…

    … r=albertlarsan68
    
    explain the options bootstrap passes to curl
    
    also fixes a discrepancy where the rust side doesn't use -L
    
    docs are only on the rust side, since duplicated prose has a tendancy to get out-of-sync, and also because there are talks of removing the python script all together eventually.
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    6e6171b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#129677 - compiler-errors:by-move-body-err, …

    …r=cjgillot
    
    Don't build by-move body when async closure is tainted
    
    Fixes rust-lang#129676
    
    See explanation in the ui test.
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    37523d2 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#129847 - compiler-errors:async-cycle, r=dav…

    …idtwco
    
    Do not call query to compute coroutine layout for synthetic body of async closure
    
    There is code in the MIR validator that attempts to prevent query cycles when inlining a coroutine into itself, and will use the coroutine layout directly from the body when it detects that's the same coroutine as the one that's being validated. After rust-lang#128506, this logic didn't take into account the fact that the coroutine def id will differ if it's the "by-move body" of an async closure. This PR implements that.
    
    Fixes rust-lang#129811
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    7b7f2f7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a88b1af View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#130009 - notriddle:notriddle/trailing-arrow…

    …, r=lolbinarycat,GuillaumeGomez
    
    rustdoc-search: allow trailing `Foo ->` arg search
    
    Fixes rust-lang#129710
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    04b4523 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#130046 - RalfJung:const_str_as_mut, r=dtolnay

    str: make as_mut_ptr and as_bytes_mut unstably const
    
    `@rust-lang/libs-api` the corresponding non-mutable methods are already const fn, so this seems pretty trivial. I hope this is small enough that it does not need an ACP? :)
    
    I would like to get these stabilized ASAP because I want to avoid people doing `s.as_ptr().cast_mut()`, which is UB if they ever write to it, but is already const-stable.
    
    TODO: create a tracking issue.
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    c139dc6 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#130047 - ChrisDenton:win-dbghelp, r=wesleyw…

    …iser
    
    Win: Add dbghelp to the list of import libraries
    
    This is used by the backtrace crate. But we use a submodule to include backtrace in std (rather than being a real crate) so we need to add the dependency here.
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    0dc9f1a View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#130059 - gurry:130039-remove-skip-rebuild, …

    …r=Kobzol
    
    Remove the unused  `llvm-skip-rebuild` option from x.py
    
    Fixes rust-lang#130039
    matthiaskrgr authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    4ba483d View commit details
    Browse the repository at this point in the history