We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86c6b0f commit b84ecdeCopy full SHA for b84ecde
build.zig
@@ -414,7 +414,7 @@ pub const InitializeDiskStep = struct {
414
415
const disk_image_path = switch (builtin.os.tag) {
416
.linux => blk: {
417
- var self_pid = std.os.linux.getpid();
+ const self_pid = std.os.linux.getpid();
418
break :blk b.fmt("/proc/{}/fd/{}", .{ self_pid, disk.handle });
419
},
420
@@ -506,7 +506,7 @@ pub const InitializeDiskStep = struct {
506
const b = step.owner;
507
_ = progress;
508
509
- const ids = @fieldParentPtr(InitializeDiskStep, "step", step);
+ const ids: *InitializeDiskStep = @fieldParentPtr("step", step);
510
511
var man = b.cache.obtain();
512
defer man.deinit();
0 commit comments