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 8 pull requests #126345

Merged
merged 25 commits into from
Jun 12, 2024
Merged

Rollup of 8 pull requests #126345

merged 25 commits into from
Jun 12, 2024

Commits on Jun 1, 2024

  1. Add target_env = "p1" to the wasm32-wasip1 target

    This commit sets the `target_env` key for the
    `wasm32-wasi{,p1,p1-threads}` targets to the string `"p1"`. This mirrors
    how the `wasm32-wasip2` target has `target_env = "p2"`. The intention of
    this is to more easily detect each target in downstream crates to enable
    adding custom code per-target.
    
    cc rust-lang#125803
    alexcrichton committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    87ad80a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ecb034 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

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

Commits on Jun 9, 2024

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

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    bbc5037 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a6bc13 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    185a48d View commit details
    Browse the repository at this point in the history
  2. Avoid a bunch of booleans in favor of Result<(), ErrorGuaranteed> a…

    …s that more robustly proves that an error has been emitted
    oli-obk committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    3da9289 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be464b8 View commit details
    Browse the repository at this point in the history
  4. Adjust LoongArch64 data layouts for LLVM update

    The data layout was changed in LLVM 19: llvm/llvm-project#93814
    zmodem committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    4a06a5b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d72c42 View commit details
    Browse the repository at this point in the history
  6. Rename some functions

    oli-obk committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    9065889 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6299071 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    af10661 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    39c3b86 View commit details
    Browse the repository at this point in the history
  10. Add TODO comment to unsafe env modification

    Addresses rust-lang#124636 (comment).
    
    I think that the diff display regresses a little, because it's no longer
    showing the `+` to show where the `unsafe {}` is added. I think it's
    still fine.
    tbu- committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    4f5fb31 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    54429cf View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#125869 - alexcrichton:add-p1-to-wasi-target…

    …s, r=wesleywiser
    
    Add `target_env = "p1"` to the `wasm32-wasip1` target
    
    This commit sets the `target_env` key for the
    `wasm32-wasi{,p1,p1-threads}` targets to the string `"p1"`. This mirrors how the `wasm32-wasip2` target has `target_env = "p2"`. The intention of this is to more easily detect each target in downstream crates to enable adding custom code per-target.
    
    cc rust-lang#125803
    
    <!--
    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>
    -->
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    7133257 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#126019 - tbu-:pr_unsafe_env_fixme, r=fee1-dead

    Add TODO comment to unsafe env modification
    
    Addresses rust-lang#124636 (comment).
    
    I think that the diff display regresses a little, because it's no longer showing the `+` to show where the `unsafe {}` is added. I think it's still fine.
    
    Tracking:
    - rust-lang#124866
    
    r? `@RalfJung`
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    88984fe View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#126036 - Oneirical:the-intelligent-intestor…

    …, r=jieyouxu
    
    Migrate `run-make/short-ice` to `rmake`
    
    Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
    
    try-job: x86_64-msvc
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    d25227c View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#126276 - mu001999-contrib:dead/enhance, r=f…

    …ee1-dead
    
    Detect pub structs never constructed even though they impl pub trait with assoc constants
    
    Extend dead code analysis to impl items of pub assoc 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>
    -->
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    3065010 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#126282 - lqd:contain-the-self-contained-lin…

    …ker, r=Mark-Simulacrum
    
    Ensure self-contained linker is only enabled on dev/nightly
    
    This is a version of rust-lang#126278 for the master branch. It should be no-op _here_, compared to beta.
    
    I'll r? `@Mark-Simulacrum` like the other one.
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    49b28a4 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#126317 - oli-obk:recursive_rpit4, r=compile…

    …r-errors
    
    Avoid a bunch of booleans in favor of Result<(), ErrorGuaranteed> as that more robustly proves that an error has been emitted
    
    pulled out of rust-lang#126316
    
    This PR cannot have any effect on compilation.
    All it does is shift a `Ty::new_misc_error` to a `span_delayed_bug` and preserve the `ErrorGuaranteed` in all other cases
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    7276f34 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#126324 - zmodem:loongarch, r=nikic

    Adjust LoongArch64 data layouts for LLVM update
    
    The data layout was changed in LLVM 19: llvm/llvm-project#93814
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    754b26d View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#126340 - fee1-dead-contrib:fix-predicates_o…

    …f-comments, r=compiler-errors
    
    Fix outdated predacates_of.rs comments
    
    <!--
    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>
    -->
    compiler-errors authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    0d1d6ba View commit details
    Browse the repository at this point in the history