Skip to content

Commit 6baf155

Browse files
authored
Merge pull request #1 from amusingimpala75/main
Add paths to build.zig.zon
2 parents 81c523c + b84ecde commit 6baf155

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-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();

build.zig.zon

+6
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@
77
.hash = "1220a1f050f3a67785cbe68283b252f02f72885eea80d6a9e1856b02cd66deaf1492",
88
},
99
},
10+
.paths = .{
11+
"build.zig",
12+
"build.zig.zon",
13+
"README.md",
14+
"src",
15+
},
1016
}

0 commit comments

Comments
 (0)