Skip to content

Commit c349095

Browse files
committed
update to latest zig
1 parent 2e1dddd commit c349095

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

build.zig

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ pub fn build(b: *std.Build) !void {
5353
// afl_obj.root_module.fuzz = true;
5454

5555
const afl = b.lazyImport(@This(), "zig-afl-kit") orelse return;
56-
const afl_fuzz = afl.addInstrumentedExe(b, target, optimize, afl_obj);
57-
b.getInstallStep().dependOn(
56+
const afl_fuzz = afl.addInstrumentedExe(b, target, optimize, null, afl_obj);
57+
b.default_step.dependOn(
5858
&b.addInstallBinFile(afl_fuzz, "scriptyfuzz-afl").step,
5959
);
60-
// fuzz.dependOn(&b.addInstallArtifact(afl_fuzz, .{}).step);
60+
// b.default_step.dependOn(&b.addInstallArtifact(afl_fuzz, .{}).step);
6161
}
6262
}

build.zig.zon

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.{
2-
.name = "scripty",
2+
.name = .scripty,
33
.version = "0.1.0",
4+
.fingerprint = 0x3dcb7e203bb9a22c,
45
.dependencies = .{
5-
.@"zig-afl-kit" = .{
6-
.url = "git+https://github.com/kristoff-it/zig-afl-kit#f003bfe714f2964c90939fdc940d5993190a66ec",
7-
.hash = "1220f2d8402bb7bbc4786b9c0aad73910929ea209cbd3b063842371d68abfed33c1e",
6+
.afl_kit = .{
7+
.path = "git+https://github.com/kristoff-it/zig-afl-kit?ref=zig-0.14.0#a462c4a3a68f082adc64f53dc4006cee9b670dec",
88
.lazy = true,
99
},
1010
},

0 commit comments

Comments
 (0)