Files
rust/library/std/src
Dan Gohman 132ec261b0 Enable API documentation for std::os::wasi.
This adds API documentation support for `std::os::wasi` modeled after
how `std::os::unix` works, so that WASI can be documented [here] along
with the other platforms.

[here]: https://doc.rust-lang.org/stable/std/os/index.html

Two changes of particular interest:

 - This changes the `AsRawFd` for `io::Stdin` for WASI to return
   `libc::STDIN_FILENO` instead of `sys::stdio::Stdin.as_raw_fd()` (and
   similar for `Stdout` and `Stderr`), which matches how the `unix`
   version works. `STDIN_FILENO` etc. may not always be explicitly
   reserved at the WASI level, but as long as we have Rust's `std` and
   `libc`, I think it's reasonable to guarantee that we'll always use
   `libc::STDIN_FILENO` for stdin.

 - This duplicates the `osstr2str` utility function, rather than
   trying to share it across all the configurations that need it.
2021-02-23 05:40:08 -08:00
..
2021-02-06 13:05:56 +01:00
2020-11-07 16:15:48 +01:00
2021-02-18 11:56:19 -06:00
2020-10-21 20:44:03 -07:00
2021-01-07 09:13:21 +01:00
2020-09-02 17:37:40 -04:00
2021-01-23 11:56:33 -06:00
2021-01-31 11:07:37 +01:00
2021-02-20 17:19:30 -05:00
2021-02-13 16:59:06 +01:00
2020-11-22 17:11:41 -05:00