rust/library/std/src/sys
Ian Jackson 848a38ac9d 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 #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>
2021-08-24 19:24:07 +01:00
..
common STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
hermit Don't put hermit mutexes in a box. 2021-08-13 07:43:05 +02:00
sgx Rollup merge of #86509 - CDirkx:os_str, r=m-ou-se 2021-08-02 11:03:20 +09:00
unix Manual Debug for Unix ExitCode ExitStatus ExitStatusError 2021-08-24 19:24:07 +01:00
unsupported Rollup merge of #86509 - CDirkx:os_str, r=m-ou-se 2021-08-02 11:03:20 +09:00
wasi Factor out a common RawFd/AsRawFd/etc for Unix and WASI. 2021-08-19 13:27:19 -07:00
wasm Move os_str_bytes to sys::unix and reuse it on other platforms. 2021-07-03 03:01:36 +02:00
windows Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
mod.rs Allow documenting on hermit 2021-05-03 16:56:22 +02:00