about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-06-14 10:44:14 -0700
committerDan Gohman <dev@sunfishcode.online>2022-08-29 08:31:40 -0700
commitc846a2af8ddaa14ff2c2da25bc97bbd8d4284df2 (patch)
tree64395199d0e913db21fdd1148b19df97ad5e37c4 /compiler/rustc_mir_transform/src
parentb96fa1a25ced4cfa72923e6d45f47f36c2c00ce0 (diff)
downloadrust-c846a2af8ddaa14ff2c2da25bc97bbd8d4284df2.tar.gz
rust-c846a2af8ddaa14ff2c2da25bc97bbd8d4284df2.zip
Make `std::os::fd` public.
`std::os::fd` defines types like `OwnedFd` and `RawFd` and is common
between Unix and non-Unix platforms that share a basic file-descriptor
concept. Rust currently uses this internally to simplify its own code,
but it would be useful for external users in the same way, so make it
public.

This means that `OwnedFd` etc. will all appear in three places, for
example on unix platforms:
 - `std::os::fd::OwnedFd`
 - `std::os::unix::io::OwnedFd`
 - `std::os::unix::prelude::OwnedFd`
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions