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 6 pull requests #123667

Closed
wants to merge 12 commits into from

Commits on Apr 5, 2024

  1. macOS: Use libc definitions for copyfile

    `COPYFILE_ALL` is not yet exposed in `libc`, but the rest of what we need is, so use those definitions instead of manually defining them.
    madsmtm committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    3fe5839 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Store all args in the unsupported Command implementation

    This allows printing them in the Debug impl as well as getting them
    again using the get_args() method. This allows programs that would
    normally spawn another process to more easily show which program they
    would have spawned if not for the fact that the target doesn't support
    spawning child processes without requiring intrusive changes to keep the
    args. For example rustc compiled to wasi will show the full linker
    invocation that would have been done.
    bjorn3 committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    bbd82ff View commit details
    Browse the repository at this point in the history
  2. rustdoc: synthetic auto: filter out clauses from the implementor's Pa…

    …ramEnv
    
    not just the ones from the elaborated clauses.
    fmease committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    114e88c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddc16e9 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    6f96d7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9be7b8 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#123485 - madsmtm:use-libc-copyfile, r=joboet

    macOS: Use `libc` definitions for copyfile
    
    `COPYFILE_ALL` is not yet exposed in `libc`, but the rest of what we need is, so use those definitions instead of manually defining them.
    
    The definitions were added in rust-lang/libc#2667 and rust-lang/libc#3346.
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    03e361d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#123633 - bjorn3:unsupported_command_data, r…

    …=jhpratt
    
    Store all args in the unsupported Command implementation
    
    This allows printing them in the Debug impl as well as getting them again using the get_args() method. This allows programs that would normally spawn another process to more easily show which program they would have spawned if not for the fact that the target doesn't support spawning child processes without requiring intrusive changes to keep the args. For example rustc compiled to wasi will show the full linker invocation that would have been done.
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    5e74975 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#123638 - fmease:rustdoc-synth-auto-yeet-ite…

    …m-param-env-clauses, r=GuillaumeGomez
    
    rustdoc: synthetic auto: filter out clauses from the implementor's ParamEnv
    
    ... not just the elaborated clauses.
    
    Fixes another regression introduced by me in rust-lang#123340, oops!
    Fixes rust-lang#123340 (comment), cc `@tamird.`
    
    An earlier local iteration of branch `rustdoc-simplify-auto-trait-impl-synth` (PR rust-lang#123340) contained a fix for issue rust-lang#111101 before I decided to limit the scope. I must've introduced this bug when manually reverting that part of the code.
    
    r? `@GuillaumeGomez` or rustdoc
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    a63892d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#123653 - Urgau:split-test-non_local_defs, r…

    …=compiler-errors
    
    Split `non_local_definitions` lint tests in separate test files
    
    This PR splits the giant `non_local_definitions` lint UI test in separate test files.
    
    This change is extracted from rust-lang#123594 (where it was requested rust-lang#123594 (comment)), to ease the review of the other PR and to reduce the size of the other PR.
    
    r? `@compiler-errors`
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    1ea980b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#123662 - compiler-errors:no-upvars-yet, r=o…

    …li-obk
    
    Don't rely on upvars being assigned just because coroutine-closure kind is assigned
    
    Previously, code relied on the implicit assumption that if a coroutine-closure's kind variable was constrained, then its upvars were also constrained. This is because we assign all of them at once at the end up upvar analysis.
    
    However, there's another way that a coroutine-closure's kind can be constrained: from a signature hint in closure signature deduction. After rust-lang#123350, we use these hints, which means the implicit assumption above no longer holds.
    
    This PR adds the necessary checks so that we don't ICE.
    
    r? oli-obk
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    a44083e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#123665 - Jules-Bertholet:patch-1, r=lqd

    Fix typo in `Future::poll()` docs
    
    `@rustbot` label A-docs
    GuillaumeGomez authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    06a481a View commit details
    Browse the repository at this point in the history