@@ -2396,7 +2396,7 @@ pub fn astGenFile(mod: *Module, file: *File) !void {
|
||||
.stat_inode = stat.inode,
|
||||
.stat_mtime = stat.mtime,
|
||||
};
|
||||
var iovecs = [_]std.os.iovec_const{
|
||||
var iovecs = [_]std.posix.iovec_const{
|
||||
.{
|
||||
.iov_base = @as([*]const u8, @ptrCast(&header)),
|
||||
.iov_len = @sizeOf(Zir.Header),
|
||||
@@ -2484,7 +2484,7 @@ fn loadZirCacheBody(gpa: Allocator, header: Zir.Header, cache_file: std.fs.File)
|
||||
else
|
||||
@as([*]u8, @ptrCast(zir.instructions.items(.data).ptr));
|
||||
|
||||
var iovecs = [_]std.os.iovec{
|
||||
var iovecs = [_]std.posix.iovec{
|
||||
.{
|
||||
.iov_base = @as([*]u8, @ptrCast(zir.instructions.items(.tag).ptr)),
|
||||
.iov_len = header.instructions_len,
|
||||
|
||||
Reference in New Issue
Block a user