| ... | @@ -10195,7 +10195,7 @@ fn fileSeekBy(userdata: ?*anyopaque, file: File, offset: i64) File.SeekError!voi | ... | @@ -10195,7 +10195,7 @@ fn fileSeekBy(userdata: ?*anyopaque, file: File, offset: i64) File.SeekError!voi |
| 10195 | | 10195 | |
| 10196 | if (posix.SEEK == void) return error.Unseekable; | 10196 | if (posix.SEEK == void) return error.Unseekable; |
| 10197 | | 10197 | |
| 10198 | if (native_os == .linux and !builtin.link_libc and @sizeOf(usize) == 4) { | 10198 | if (native_os == .linux and !builtin.link_libc and @sizeOf(posix.system.syscall_arg_t) == 4) { |
| 10199 | var result: i64 = undefined; | 10199 | var result: i64 = undefined; |
| 10200 | const syscall: Syscall = try .start(); | 10200 | const syscall: Syscall = try .start(); |
| 10201 | while (true) { | 10201 | while (true) { |
| ... | @@ -10307,7 +10307,7 @@ fn fileSeekTo(userdata: ?*anyopaque, file: File, offset: u64) File.SeekError!voi | ... | @@ -10307,7 +10307,7 @@ fn fileSeekTo(userdata: ?*anyopaque, file: File, offset: u64) File.SeekError!voi |
| 10307 | } | 10307 | } |
| 10308 | | 10308 | |
| 10309 | fn posixSeekTo(fd: posix.fd_t, offset: u64) File.SeekError!void { | 10309 | fn posixSeekTo(fd: posix.fd_t, offset: u64) File.SeekError!void { |
| 10310 | if (native_os == .linux and !builtin.link_libc and @sizeOf(usize) == 4) { | 10310 | if (native_os == .linux and !builtin.link_libc and @sizeOf(posix.system.syscall_arg_t) == 4) { |
| 10311 | const syscall: Syscall = try .start(); | 10311 | const syscall: Syscall = try .start(); |
| 10312 | while (true) { | 10312 | while (true) { |
| 10313 | var result: i64 = undefined; | 10313 | var result: i64 = undefined; |