| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-02 | Move some things to `std::sync::poison` and reexport them in `std::sync` | Pavel Grigorenko | -390/+0 | |
| 2024-10-25 | library: consistently use American spelling for 'behavior' | Ralf Jung | -1/+1 | |
| 2024-09-29 | Fix std tests for wasm32-wasip2 target | Nicola Krumschmidt | -1/+1 | |
| 2024-09-17 | Implement ACP 429: add `Lazy{Cell,Lock}::get[_mut]` and `force_mut` | Chayim Refael Friedman | -0/+10 | |
| In the implementation of `force_mut`, I chose performance over safety. For `LazyLock` this isn't really a choice; the code has to be unsafe. But for `LazyCell`, we can have a full-safe implementation, but it will be a bit less performant, so I went with the unsafe approach. | ||||
| 2024-08-01 | Rollup merge of #127567 - joboet:once_wait, r=Amanieu | Matthias Krüger | -0/+41 | |
| std: implement the `once_wait` feature Tracking issue: #127527 This additionally adds a `wait_force` method to `Once` that doesn't panic on poison. I also took the opportunity and cleaned up up the code of the queue-based implementation a bit. | ||||
| 2024-07-31 | std: implement the `once_wait` feature | joboet | -0/+41 | |
| 2024-07-30 | More detailed note to deprecate ONCE_INIT | Liigo Zhuang | -1/+1 | |
| 2024-06-15 | std: suggest OnceLock over Once | Jubilee Young | -3/+12 | |
| 2024-03-12 | std: move `Once` implementations to `sys` | joboet | -1/+1 | |
| 2023-10-06 | Minor doc clarification in Once::call_once | Peter Hall | -1/+1 | |
| 2023-06-01 | doc: improve explanation | Tshepang Mbambo | -1/+1 | |
| 2023-01-26 | std: optimize `LazyLock` size | joboet | -0/+16 | |
| 2022-10-07 | std: use futex in `Once` | joboet | -289/+23 | |
| 2022-04-14 | Remove use of `#[rustc_deprecated]` | Jacob Pratt | -2/+2 | |
| 2022-03-29 | Make the stdlib largely conform to strict provenance. | Aria Beingessner | -21/+28 | |
| Some things like the unwinders and system APIs are not fully conformant, this only covers a lot of low-hanging fruit. | ||||
| 2022-03-03 | Add #[track_caller] to track callers when initializing poisoned Once | reez12g | -0/+2 | |
| 2021-12-20 | impl RefUnwindSafe for Once | David Tolnay | -2/+5 | |
| 2021-11-05 | Add UnwindSafe to Once | Milo | -0/+4 | |
| 2021-10-10 | Add #[must_use] to core and std constructors | John Kugelman | -0/+1 | |
| 2021-07-29 | Fix may not to appropriate might not or must not | Ali Malik | -1/+1 | |
| 2021-04-21 | Replace all `fmt.pad` with `debug_struct` | Christiaan Dirkx | -1/+1 | |
| 2021-04-01 | Fix minor typo in once.rs | Predrag Gruevski | -1/+1 | |
| 2021-02-04 | Stabilize poison API of Once, rename poisoned() | Martin Habovstiak | -13/+7 | |
| This stabilizes: * `OnceState` * `OnceState::is_poisoned()` (previously named `poisoned()`) * `Once::call_once_force()` `poisoned()` was renamed because the new name is more clear as a few people agreed and nobody objected. Closes #33577 | ||||
| 2020-12-22 | Fix documentation typo | Linus Färnstrand | -1/+1 | |
| 2020-12-22 | Migrate standard library away from compare_and_swap | Linus Färnstrand | -5/+11 | |
| 2020-09-20 | Fix nits | Alexis Bourget | -2/+1 | |
| 2020-09-18 | Finish moving to intra doc links for std::sync | Alexis Bourget | -36/+26 | |
| 2020-09-12 | Mark Once::new as #[inline]. | Mara Bos | -0/+1 | |
| Without this, it was not inlined in SyncOnceCell::into_inner(), causing unecessary checks and dead code. | ||||
| 2020-08-31 | std: move "mod tests/benches" to separate files | Lzu Tao | -120/+3 | |
| Also doing fmt inplace as requested. | ||||
| 2020-08-02 | fix typos | liuzhenyu | -1/+1 | |
| 2020-07-27 | mv std libs to library/ | mark | -0/+690 | |
