diff options
| author | David Rubin <david@vortan.dev> | 2025-11-06 17:44:28 -0800 |
|---|---|---|
| committer | David Rubin <david@vortan.dev> | 2025-11-06 17:44:28 -0800 |
| commit | 71988d6719db20e1be24586bab201af72b021b3c (patch) | |
| tree | ede810338f48667d515f6bcf96714461265c87e1 /lib/std/debug/cpu_context.zig | |
| parent | 654a5b20d7a8eb2d4267b859aff615e4806733c2 (diff) | |
| download | zig-71988d6719db20e1be24586bab201af72b021b3c.tar.gz zig-71988d6719db20e1be24586bab201af72b021b3c.zip | |
Io.net: set `receive{,Timeout}` message to `init`
If we use `undefined`, then `netReceive` can `@intCast` the
control slice len to msghdr controllen, which is sometimes `u32`,
even on 64-bit platforms.
`init` just avoids this entirely by setting `control` to an empty
slice rather than undefined.
Diffstat (limited to 'lib/std/debug/cpu_context.zig')
0 files changed, 0 insertions, 0 deletions
