zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e949341b705c16b46544f26f5aab0a16670f42b4 (tree)
parent 36069a2a7dbd1a3b38ecfced917733127d7dbb38
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sat, 20 Jun 2026 11:12:45 +0200

Revert "std.os.linux: fix kernel_timespec.nsec to be isize"

This reverts commit af88310caf86b1b1e84d9f0764af522b402241b2.

I conflated __kernel_timespec with __kernel_old_timespec. i64 is correct.

Diffstat:
Mlib/std/os/linux.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig @@ -9438,7 +9438,7 @@ pub const timezone = extern struct { /// The timespec struct used by the kernel. pub const kernel_timespec = extern struct { sec: i64, - nsec: isize, + nsec: i64, /// For use with `utimensat` and `futimens`. pub const NOW: timespec = .{