diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-06-29 19:07:43 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-08-29 08:31:42 -0700 |
| commit | bda12629c3d0926c14b9fbe3f814972f8d50043c (patch) | |
| tree | 12d4852b144ceed5f975331bbd19a4d438df50a1 | |
| parent | 09bbc4224f36e05245e63d1766364ea821c83cd3 (diff) | |
| download | rust-bda12629c3d0926c14b9fbe3f814972f8d50043c.tar.gz rust-bda12629c3d0926c14b9fbe3f814972f8d50043c.zip | |
Clarify that the `fd` module is supported on Unix and WASI.
| -rw-r--r-- | library/std/src/os/fd/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/std/src/os/fd/mod.rs b/library/std/src/os/fd/mod.rs index 8043d1a53d2..91dbe44878b 100644 --- a/library/std/src/os/fd/mod.rs +++ b/library/std/src/os/fd/mod.rs @@ -1,8 +1,7 @@ //! Owned and borrowed Unix-like file descriptors. //! -//! This module is supported on Unix platforms, and also some non-Unix -//! platforms which use a similar file descriptor system for referencing OS -//! resources. +//! This module is supported on Unix platforms and WASI, which both use a +//! similar file descriptor system for referencing OS resources. #![stable(feature = "io_safety", since = "1.63.0")] #![deny(unsafe_op_in_unsafe_fn)] |
