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

Manual Debug for Unix ExitCode ExitStatus ExitStatusError #88305

Merged
merged 1 commit into from
Oct 4, 2021

Commits on Aug 24, 2021

  1. Manual Debug for Unix ExitCode ExitStatus ExitStatusError

    These structs have misleading names.  An ExitStatus[Error] is actually
    a Unix wait status; an ExitCode is actually an exit status.
    
    The Display impls are fixed, but the Debug impls are still misleading,
    as reported in rust-lang#74832.
    
    Fix this by pretending that these internal structs are called
    `unix_exit_status` and `unix_wait_status` as applicable.  (We can't
    actually rename the structs because of the way that the cross-platform
    machinery works: the names are cross-platform.)
    
    Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
    ijackson committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    848a38a View commit details
    Browse the repository at this point in the history