diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-23 02:44:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-23 02:44:16 -0500 |
| commit | 4493159b350f0d61c0eee4ef92fde6e91610ba57 (patch) | |
| tree | 3ac4c69291b7c4ca5fbde1d7b17d7fdaccc69c72 /compiler/rustc_data_structures/src | |
| parent | 307f1609e943b8dec28917142b13dde5470cc0ed (diff) | |
| parent | 70f11ee0c063fa85dff72306c2ec29532b8cabeb (diff) | |
| download | rust-4493159b350f0d61c0eee4ef92fde6e91610ba57.tar.gz rust-4493159b350f0d61c0eee4ef92fde6e91610ba57.zip | |
Rollup merge of #136826 - xizheyin:issue-136737, r=thomcc
Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in Unix As discussion in #136737. - Replace `mem::zeroed()` with `MaybeUninit::uninit()` for `sockaddr_storage` in `accept()` and `recvfrom()` since these functions fill in the address structure - Replace `mem::zeroed()` with `MaybeUninit::uninit()` for `pthread_attr_t` in thread-related functions since `pthread_attr_init()` initializes the structure - Add references to man pages to document this behavior
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions
