about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-16 02:06:01 +0000
committerbors <bors@rust-lang.org>2023-10-16 02:06:01 +0000
commit58352c06497ac1cc8f7c49d30d6df967134efbaf (patch)
tree53e6d71f6e6442475592b9379247c32da7ff5ad7 /compiler/rustc_data_structures
parent30d310cc1f7056fa9941b9f9c415d60091ed8fec (diff)
parentb149d16d3a48672a7cfb99d19e075ff8eef4846f (diff)
downloadrust-58352c06497ac1cc8f7c49d30d6df967134efbaf.tar.gz
rust-58352c06497ac1cc8f7c49d30d6df967134efbaf.zip
Auto merge of #114589 - ijackson:exit-code-default, r=dtolnay
impl Default for ExitCode

As suggested here
  https://github.com/rust-lang/rust/pull/106425#issuecomment-1382952598

Needs FCP since this is an insta-stable impl.

Ideally we would have `impl From<ExitCode> for ExitStatus` and implement the default `ExitStatus` using that.   That is sadly not so easy because of the various strange confusions about `ExitCode` (unix: exit status) vs `ExitStatus` (unix: wait status) in the not-really-unix platforms in `library//src/sys/unix/process`.  I'll try to follow that up.
Diffstat (limited to 'compiler/rustc_data_structures')
0 files changed, 0 insertions, 0 deletions