| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-03-24 | Rollup merge of #83353 - m-ou-se:io-error-avoid-alloc, r=nagisa | Dylan DPC | -1/+4 | |
| Add internal io::Error::new_const to avoid allocations. This makes it possible to have a io::Error containing a message with zero allocations, and uses that everywhere to avoid the *three* allocations involved in `io::Error::new(kind, "message")`. The function signature isn't perfect, because it needs a reference to the `&str`. So for now, this is just a `pub(crate)` function. Later, we'll be able to use `fn new_const<MSG: &'static str>(kind: ErrorKind)` to make that a bit better. (Then we'll also be able to use some ZST trickery if that would result in more efficient code.) See https://github.com/rust-lang/rust/issues/83352 | ||||
| 2021-03-21 | Use io::Error::new_const everywhere to avoid allocations. | Mara Bos | -1/+4 | |
| 2021-02-24 | Reuse `std::sys::unsupported::pipe` on `hermit` | Christiaan Dirkx | -0/+1 | |
| 2020-11-07 | Rollup merge of #74979 - maekawatoshiki:fix, r=Mark-Simulacrum | Yuki Okushi | -0/+2 | |
| `#![deny(unsafe_op_in_unsafe_fn)]` in sys/hermit Partial fix of #73904. This encloses ``unsafe`` operations in ``unsafe fn`` in ``sys/hermit``. Some unsafe blocks are not well documented because some system-based functions lack documents. | ||||
| 2020-10-12 | reuse implementation of the system provider "unsupported" | Stefan Lankes | -0/+1 | |
| 2020-08-21 | Add `#![allow(unsafe_op_in_unsafe_fn)]` in sys/hermit | maekawatoshiki | -0/+2 | |
| 2020-08-21 | Revert "`#![deny(unsafe_op_in_unsafe_fn)]` in sys/hermit" | maekawatoshiki | -15/+7 | |
| This reverts commit 7cae9e8c88e468e94c157d9aaee4b8e3cf90b9a4. | ||||
| 2020-07-31 | `#![deny(unsafe_op_in_unsafe_fn)]` in sys/hermit | maekawatoshiki | -7/+15 | |
| 2020-07-28 | adjust remaining targets | Stefan Lankes | -1/+1 | |
| - fix commit 7dc3886 - previous commit doesn't adjust all targets | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+146 | |
