| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-03-29 | Rollup merge of #107387 - joboet:hermit_random, r=ChrisDenton | Matthias Krüger | -2/+11 | |
| Use random `HashMap` keys on Hermit Initializing the keys with random data provided by the libOS avoids HashDOS attacks and similar issues. CC `@stlankes` | ||||
| 2023-03-29 | std: use `cvt` to handle errors from `read_entropy` on Hermit | joboet | -9/+3 | |
| 2023-02-26 | remove unused imports | Stefan Lankes | -1/+0 | |
| 2023-02-26 | std: use random HashMap keys on Hermit | joboet | -2/+17 | |
| 2023-02-24 | move IO traits to std/src/os/hermit | Stefan Lankes | -3/+1 | |
| By moving the IO traits, the RustyHermit support is harmonized to of other operating systems. | ||||
| 2023-02-24 | add support of RustyHermit's BSD socket layer | Stefan Lankes | -18/+65 | |
| RustHermit publishs a new kernel interface and supports a common BSD socket layer. By supporting this interface, the implementation can be harmonized to other operating systems. To realize this socket layer, the handling of file descriptors is also harmonized to other operating systems. | ||||
| 2023-02-12 | Hermit: Remove floor symbol | Martin Kröning | -5/+0 | |
| This symbol should be provided by Hermit. | ||||
| 2022-11-06 | std: remove lock wrappers in `sys_common` | joboet | -3/+3 | |
| 2022-10-13 | std: use `sync::Mutex` for internal statics | joboet | -3/+1 | |
| 2022-09-09 | std: use futex-based locks and thread parker on Hermit | joboet | -7/+8 | |
| 2022-08-28 | Support `#[unix_sigpipe = "inherit|sig_dfl|sig_ign"]` on `fn main()` | Martin Nordholts | -1/+1 | |
| This makes it possible to instruct libstd to never touch the signal handler for `SIGPIPE`, which makes programs pipeable by default (e.g. with `./your-program | head -n 1`) without `ErrorKind::BrokenPipe` errors. | ||||
| 2022-04-14 | library: Remove definitions and reexports of `strlen` from libstd | Vadim Petrochenkov | -10/+0 | |
| 2022-03-22 | Move std::sys::{mutex, condvar, rwlock} to std::sys::locks. | Mara Bos | -3/+10 | |
| 2022-02-04 | Hide Repr details from io::Error, and rework `io::Error::new_const`. | Thom Chiovoloni | -2/+2 | |
| 2021-07-03 | Move `os_str_bytes` to `sys::unix` and reuse it on other platforms. | Christiaan Dirkx | -1/+2 | |
| 2021-06-15 | Rename ErrorKind::Unknown to Uncategorized. | Mara Bos | -1/+1 | |
| 2021-06-15 | Redefine `ErrorKind::Other` and stop using it in std. | Mara Bos | -1/+1 | |
| 2021-05-03 | Move `std::sys::hermit::ext` to `std::os::hermit` | Christiaan Dirkx | -1/+0 | |
| 2021-04-30 | Auto merge of #84522 - CDirkx:cmath, r=yaahc | bors | -0/+1 | |
| Reuse `sys::unix::cmath` on other platforms Reuse `sys::unix::cmath` on all non-`windows` platforms. `unix` is chosen as the canonical location instead of `unsupported` or `common` because `unsupported` doesn't make sense semantically and `common` is reserved for code that is supported on all platforms. Also `unix` is already the home of some non-`windows` code that is technically not exclusive to `unix` like `unix::path`. | ||||
| 2021-04-28 | Reuse `unix::cmath` | Christiaan Dirkx | -0/+1 | |
| 2021-04-27 | Rollup merge of #84521 - CDirkx:hermit-dedup, r=Mark-Simulacrum | Dylan DPC | -0/+3 | |
| Reuse modules on `hermit` Reuse the following modules on `hermit`: - `unix::path` (contents identical) - `unsupported::io` (contents identical) - `unsupported::thread_local_key` (contents functionally identical, only changes are the panic error messages) `@rustbot` label: +T-libs-impl | ||||
| 2021-04-24 | Reuse `unix::path` and `unsupported::{io, thread_local_key}` on `hermit` | Christiaan Dirkx | -0/+3 | |
| 2021-04-22 | Document that `init` and `cleanup` are not guaranteed to run | Christiaan Dirkx | -0/+2 | |
| 2021-04-22 | Move most init to `sys::init` | Christiaan Dirkx | -2/+2 | |
| 2021-04-22 | Move all cleanup to `sys::cleanup` | Christiaan Dirkx | -1/+3 | |
| 2021-04-22 | Rework `at_exit` to `cleanup` | Christiaan Dirkx | -2/+5 | |
| 2021-04-20 | Replace `Void` with never type | Christiaan Dirkx | -5/+0 | |
| 2021-04-18 | Rename `NotSupported` to `Unsupported` | Christiaan Dirkx | -1/+1 | |
| 2021-04-18 | Use `NotSupported` in more places | Christiaan Dirkx | -1/+1 | |
| 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 | |
