- 27 3月, 2021 1 次提交
-
-
由 Mara Bos 提交于
-
- 01 3月, 2021 1 次提交
-
-
由 Erik Jensen 提交于
Reading the discussion of this feature, I gained the mistaken impression that neither `set` nor `get` blocked, and thus calling `get` immediately after `set` was not guaranteed to succeed. It turns out that `set` *does* block, guaranteeing that the cell contains a value once `set` returns. This change updates the documentation to state that explicitly.
-
- 24 2月, 2021 1 次提交
-
-
由 Miguel Ojeda 提交于
Almost all safety comments are of the form `// SAFETY:`, so normalize the rest and fix a few of them that should have been a `/// # Safety` section instead. Furthermore, make `tidy` only allow the uppercase form. While currently `tidy` only checks `core`, it is a good idea to prevent `core` from drifting to non-uppercase comments, so that later we can start checking `alloc` etc. too. Signed-off-by: NMiguel Ojeda <ojeda@kernel.org>
-
- 09 12月, 2020 1 次提交
-
-
由 Mara Bos 提交于
-
- 12 9月, 2020 1 次提交
-
-
由 Mara Bos 提交于
-
- 09 9月, 2020 1 次提交
-
-
由 Flying-Toast 提交于
-
- 05 9月, 2020 2 次提交
- 31 8月, 2020 1 次提交
-
-
由 Lzu Tao 提交于
Also doing fmt inplace as requested.
-
- 29 8月, 2020 1 次提交
-
-
由 DPC 提交于
-
- 26 8月, 2020 1 次提交
-
-
由 Scott McMurray 提交于
I think this communicates the intent better, and is shorter anyway.
-
- 19 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
They were carried over from once_cell crate, but they are not entirely correct (as miri now supports more things), and we don't run miri tests for std, so let's just remove them. Maybe one day we'll run miri in std, but then we can just re-install these attributes.
-
- 18 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
See the failed build in https://github.com/rust-lang/rust/pull/75555#issuecomment-675016718 for an example where we need this in real life
-
- 28 7月, 2020 2 次提交
-
-
由 Aleksey Kladov 提交于
The logic here is the same as for Send&Sync impls.
-
由 mark 提交于
-
- 22 7月, 2020 1 次提交
-
-
由 Mohsen Zohrevandi 提交于
Spinning multiple threads in this test causes a deadlock in SGX where thread scheduling is not preemptive.
-
- 18 7月, 2020 1 次提交
-
-
由 Ashley Mannix 提交于
-
- 17 7月, 2020 5 次提交
-
-
由 Ashley Mannix 提交于
-
由 Ashley Mannix 提交于
-
由 Ashley Mannix 提交于
-
由 Ashley Mannix 提交于
This commit refactors the initial implementation to fit into std and makes some other changes: - use MaybeUninit internally in SyncOnceCell - correctly impl Drop for lazy::Once - port Lazy::take from once_cell from: https://github.com/matklad/once_cell/pull/100Co-Authored-By: NPaul Dicker <pitdicker@users.noreply.github.com>
-
由 Aleksey Kladov 提交于
-