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

Fix exit status / wait status on non-Unix cfg(unix) platforms #115108

Merged
merged 6 commits into from
Oct 13, 2023

Commits on Aug 22, 2023

  1. std: unix process_unsupported: Provide a wait status emulation

    Fixes rust-lang#114593
    
    Needs FCP due to behavioural changes.
    ijackson committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    013d2d2 View commit details
    Browse the repository at this point in the history
  2. std: unix process: Test exit statuses / wait statuses

    This is a pretty basic test but should spot any other platforms which
    are `#[cfg(unix)]` but not Unix and where the wait status
    representation is wrong.  (And any actual Unix platforms where it's
    not as expected, but I don't think they exist.)
    ijackson committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    06567ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9738a07 View commit details
    Browse the repository at this point in the history
  4. std: unix process_unsupported: Provide a wait status emulation (fmt)

    Worsify formatting as required by rustfmt.
    ijackson committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    2727f82 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    281b050 View commit details
    Browse the repository at this point in the history
  6. std: unix process_unsupported: Provide a wait status emulation (tidy)

    Move tests into a module as demanded by tidy.
    ijackson committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    f625528 View commit details
    Browse the repository at this point in the history