authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-20 11:12:45+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-20 11:12:45+02:00
loge949341b705c16b46544f26f5aab0a16670f42b4
tree9dc6a4a556065f3ea0aa6ddbae2b00d727cc61db
parent36069a2a7dbd1a3b38ecfced917733127d7dbb38
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/linux.zig+1-1
...@@ -9438,7 +9438,7 @@ pub const timezone = extern struct {...@@ -9438,7 +9438,7 @@ pub const timezone = extern struct {
9438/// The timespec struct used by the kernel.9438/// The timespec struct used by the kernel.
9439pub const kernel_timespec = extern struct {9439pub const kernel_timespec = extern struct {
9440 sec: i64,9440 sec: i64,
9441 nsec: isize,9441 nsec: i64,
94429442
9443 /// For use with `utimensat` and `futimens`.9443 /// For use with `utimensat` and `futimens`.
9444 pub const NOW: timespec = .{9444 pub const NOW: timespec = .{