diff options
| author | Ashley Mannix <ashleymannix@live.com.au> | 2020-01-14 13:34:23 +1000 |
|---|---|---|
| committer | Ashley Mannix <ashleymannix@live.com.au> | 2020-07-17 07:25:32 +1000 |
| commit | 237a97760ad79a21ce0655b9f5adc0cc5b5cbc79 (patch) | |
| tree | e02cbdb97e7c2816dc0c7dc3178c34c9146e3fbc /library/std/src/sys/unix/stack_overflow.rs | |
| parent | cac1768b03c8d6673c51605dca03997876979d68 (diff) | |
| download | rust-237a97760ad79a21ce0655b9f5adc0cc5b5cbc79.tar.gz rust-237a97760ad79a21ce0655b9f5adc0cc5b5cbc79.zip | |
integrate Lazy into std layout
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/100 Co-Authored-By: Paul Dicker <pitdicker@users.noreply.github.com>
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
