Skip to content

Commit b84ecde

Browse files
Fix up for 0.12.0
1 parent 86c6b0f commit b84ecde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ pub const InitializeDiskStep = struct {
414414

415415
const disk_image_path = switch (builtin.os.tag) {
416416
.linux => blk: {
417-
var self_pid = std.os.linux.getpid();
417+
const self_pid = std.os.linux.getpid();
418418
break :blk b.fmt("/proc/{}/fd/{}", .{ self_pid, disk.handle });
419419
},
420420

@@ -506,7 +506,7 @@ pub const InitializeDiskStep = struct {
506506
const b = step.owner;
507507
_ = progress;
508508

509-
const ids = @fieldParentPtr(InitializeDiskStep, "step", step);
509+
const ids: *InitializeDiskStep = @fieldParentPtr("step", step);
510510

511511
var man = b.cache.obtain();
512512
defer man.deinit();

0 commit comments

Comments
 (0)