diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-01-16 21:19:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-16 21:19:48 -0500 |
| commit | e646becd04c37fbaaa654f6419dd9f5e85d9f210 (patch) | |
| tree | 01e5a1535ebec3ab5d2476396efb9469d75f29ce /lib | |
| parent | 37424fd11a79801e18a121ee7e86730012b0c55e (diff) | |
| parent | b2c85464bef931c8263b50b40697a584600ee69e (diff) | |
| download | zig-e646becd04c37fbaaa654f6419dd9f5e85d9f210.tar.gz zig-e646becd04c37fbaaa654f6419dd9f5e85d9f210.zip | |
Merge pull request #14336 from Vexu/field-reorder
Sema: automatically optimize order of struct fields
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/os/linux/io_uring.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux/io_uring.zig b/lib/std/os/linux/io_uring.zig index 3bc3fbaf7b..61bf39105f 100644 --- a/lib/std/os/linux/io_uring.zig +++ b/lib/std/os/linux/io_uring.zig @@ -954,7 +954,7 @@ pub const IO_Uring = struct { pub fn register_files_update(self: *IO_Uring, offset: u32, fds: []const os.fd_t) !void { assert(self.fd >= 0); - const FilesUpdate = struct { + const FilesUpdate = extern struct { offset: u32, resv: u32, fds: u64 align(8), |
