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

Closed
wants to merge 21 commits into from
Closed

Commits on Feb 15, 2024

  1. Add slice::try_range

    clarfonthey committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    290cbdf View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. unix_sigpipe: Add test for SIGPIPE disposition in child processes

    For robustness, also test the disposition in our own process even if
    tests in `tests/ui/attributes/unix_sigpipe` already covers it.
    Enselic committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    527be25 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    7e6dccc View commit details
    Browse the repository at this point in the history
  2. Add shim for GetSystemTimePreciseAsFileTime

    This is exactly the same as GetSystemTimeAsFileTime except that it promises maximum precision.
    ChrisDenton committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    eb40adb View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Expose Freeze trait again

    oli-obk committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f030d49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7849230 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. std::threads: revisit stack address calculation on netbsd.

    like older linux glibc versions, we need to get the guard size
     and increasing the stack's bottom address accordingly.
    devnexen committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    7ff3bad View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Add target.*.runner configuration for targets

    This commit adds a `runner` field configuration to `config.toml` for
    specifying a wrapper executable when executing binaries for a target.
    This is pulled out of rust-lang#122036 where a WebAssembly runtime is used, for
    example, to execute tests for `wasm32-wasip1`.
    
    The name "runner" here is chosen to match Cargo's `CARGO_*_RUNNER`
    configuration, and to make things a bit more consistent this
    additionally renames compiletest's `--runtool` argument to `--runner`.
    alexcrichton committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    dd95cb7 View commit details
    Browse the repository at this point in the history
  2. Add a change entry

    alexcrichton committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    9bdb8a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffdd97f View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. skip sanity check for non-host targets in check builds

    For `check` builds, since we only need to perform a sanity check on
    the host target, this patch skips target sanity checks on non-host targets.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e5e1fa6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81ebaf2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7443f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Rollup merge of rust-lang#121148 - clarfonthey:try-range, r=dtolnay

    Add slice::try_range
    
    This adds a fallible version of the unstable `slice::range` (tracking: rust-lang#76393) which is highly requested in the tracking issue.
    
    Hoping this can slide by without an ACP (since the feature is already being tracked), but let me know otherwise.
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    4374058 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#121573 - Enselic:sigpipe-child-process, r=M…

    …ark-Simulacrum
    
    unix_sigpipe: Add test for SIGPIPE disposition in child processes
    
    To make it clearer what the impact would be to stop using `SIG_IGN` and instead use a noop handler, like suggested [here](rust-lang#62569 (comment)) and implemented [here](rust-lang#121578).
    
    Part of rust-lang#97889
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    b850549 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#121633 - ChrisDenton:precise, r=Nilstrieb

    Win10: Use `GetSystemTimePreciseAsFileTime` directly
    
    On Windows 10 we can use `GetSystemTimePreciseAsFileTime` directly instead of lazy loading it (with a fallback).
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0933a32 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#121840 - oli-obk:freeze, r=dtolnay

    Expose the Freeze trait again (unstably) and forbid implementing it manually
    
    non-emoji version of rust-lang#121501
    
    cc rust-lang#60715
    
    This trait is useful for generic constants (associated consts of generic traits). See the test (`tests/ui/associated-consts/freeze.rs`) added in this PR for a usage example. The builtin `Freeze` trait is the only way to do it, users cannot work around this issue.
    
    It's also a useful trait for building some very specific abstrations, as shown by the usage by the `zerocopy` crate: google/zerocopy#941
    
    cc ``@RalfJung``
    
    T-lang signed off on reexposing this unstably: rust-lang#121501 (comment)
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    61ff631 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#121907 - onur-ozkan:better-target-sanity-ch…

    …eck, r=albertlarsan68
    
    skip sanity check for non-host targets in `check` builds
    
    For `check` builds, since we only need to perform a sanity check on the host target, this patch skips target sanity checks on non-host targets.
    
    For more context, see rust-lang#121519 (comment)
    
    cc `@saethlin`
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    29b0f25 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#122002 - devnexen:thread_stack_netbsd_fix, …

    …r=workingjubilee,riastradh
    
    std::threads: revisit stack address calculation on netbsd.
    
    like older linux glibc versions, we need to get the guard size
     and increasing the stack's bottom address accordingly.
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    8954ecf View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#122108 - alexcrichton:target-config-runtool…

    …, r=WaffleLapkin
    
    Add `target.*.runner` configuration for targets
    
    This commit adds a `runner` field configuration to `config.toml` for specifying a wrapper executable when executing binaries for a target. This is pulled out of rust-lang#122036 where a WebAssembly runtime is used, for example, to execute tests for `wasm32-wasip1`.
    
    The name "runner" here is chosen to match Cargo's `CARGO_*_RUNNER` configuration, and to make things a bit more consistent this additionally renames compiletest's `--runtool` argument to `--runner`.
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    a5f622b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#122298 - RalfJung:raw-vec-into-box, r=cuviper

    RawVec::into_box: avoid unnecessary intermediate reference
    
    Fixes the problem described [here](rust-lang/miri#3341 (comment)).
    jhpratt authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    c49bdb3 View commit details
    Browse the repository at this point in the history