| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-01-25 | Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplett | Matthias Krüger | -15/+6 | |
| Add a `try_clone()` function to `OwnedFd`. As suggested in #88564. This adds a `try_clone()` to `OwnedFd` by refactoring the code out of the existing `File`/`Socket` code. r? ``@joshtriplett`` | ||||
| 2021-11-02 | more efficent File::read_buf impl for windows and unix | DrMeepster | -1/+34 | |
| 2021-09-09 | Fix more Windows compilation errors. | Dan Gohman | -1/+5 | |
| 2021-09-09 | Add a `try_clone()` function to `OwnedFd`. | Dan Gohman | -14/+1 | |
| As suggested in #88564. This adds a `try_clone()` to `OwnedFd` by refactoring the code out of the existing `File`/`Socket` code. | ||||
| 2021-08-19 | I/O safety. | Dan Gohman | -46/+76 | |
| Introduce `OwnedFd` and `BorrowedFd`, and the `AsFd` trait, and implementations of `AsFd`, `From<OwnedFd>` and `From<T> for OwnedFd` for relevant types, along with Windows counterparts for handles and sockets. Tracking issue: - <https://github.com/rust-lang/rust/issues/87074> RFC: - <https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md> | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+233 | |
