zig/lib/std/c
Matthew Lugg b69bfe0c08
std: update for language changes
Now that zig1.wasm is updated, apply the matching standard library
changes.

The main one is in `std.builtin.Type`, where `alignment` fields now have
type `?usize` rather than `comptime_int`.

Additionally, we need to add explicit backing integers to some packed
unions, because (due to https://github.com/ziglang/zig/issues/24714)
they need explicit backing integers to be used in `extern` contexts.
This change could not happen before now, because prior to this branch,
packed unions did not allow explicit backing integer types (that is,
this branch implemented https://github.com/ziglang/zig/issues/25350).
2026-03-06 17:02:49 +00:00
..
darwin std: update for language changes 2026-03-06 17:02:49 +00:00
darwin.zig std: update for language changes 2026-03-06 17:02:49 +00:00
dragonfly.zig std: rework/remove ucontext_t 2025-09-30 13:44:54 +01:00
freebsd.zig std.Io.Threaded: fix missing @memcpy in realPathPosix for FreeBSD 2025-12-26 19:58:56 -08:00
haiku.zig std: rework/remove ucontext_t 2025-09-30 13:44:54 +01:00
illumos.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
netbsd.zig std.c.netbsd: change type of _ksiginfo.signo to std.c.SIG 2026-01-19 13:16:03 +01:00
openbsd.zig std: rework/remove ucontext_t 2025-09-30 13:44:54 +01:00
serenity.zig std: add IP, IPV6, IPTOS sockopt constants 2025-09-09 17:01:20 -05:00