summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/build.zig4
-rw-r--r--bench/build.zig.zon2
2 files changed, 3 insertions, 3 deletions
diff --git a/bench/build.zig b/bench/build.zig
index d028851..66864c2 100644
--- a/bench/build.zig
+++ b/bench/build.zig
@@ -110,7 +110,7 @@ pub fn build(b: *std.Build) !void {
110 for (&benches) |bench| { 110 for (&benches) |bench| {
111 const exe = b.addExecutable(.{ 111 const exe = b.addExecutable(.{
112 .name = bench.name, 112 .name = bench.name,
113 .root_source_file = .{ .path = bench.src }, 113 .root_source_file = b.path(bench.src),
114 .target = target, 114 .target = target,
115 .optimize = optimize, 115 .optimize = optimize,
116 .strip = true, 116 .strip = true,
@@ -125,7 +125,7 @@ pub fn build(b: *std.Build) !void {
125 125
126 // Tests 126 // Tests
127 const unit_tests = b.addTest(.{ 127 const unit_tests = b.addTest(.{
128 .root_source_file = .{ .path = "src/tests.zig" }, 128 .root_source_file = b.path("src/tests.zig"),
129 .target = target, 129 .target = target,
130 .optimize = optimize, 130 .optimize = optimize,
131 }); 131 });
diff --git a/bench/build.zig.zon b/bench/build.zig.zon
index 4a6fc8e..2c56013 100644
--- a/bench/build.zig.zon
+++ b/bench/build.zig.zon
@@ -6,7 +6,7 @@
6 .dependencies = .{ 6 .dependencies = .{
7 .ziglyph = .{ 7 .ziglyph = .{
8 .url = "https://codeberg.org/dude_the_builder/ziglyph/archive/main.tar.gz", 8 .url = "https://codeberg.org/dude_the_builder/ziglyph/archive/main.tar.gz",
9 .hash = "12203449cf66ddeb1d9c13cb4722e906f1b389e59724f0a83c21705a531f9e5a2670", 9 .hash = "12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25",
10 }, 10 },
11 .zg = .{ .path = ".." }, 11 .zg = .{ .path = ".." },
12 }, 12 },