From ba202bc3330b2690850345136acbaebc42031122 Mon Sep 17 00:00:00 2001 From: Jose Colon Rodriguez Date: Fri, 7 Jun 2024 13:38:56 -0400 Subject: Updated benchmark --- bench/build.zig | 4 ++-- bench/build.zig.zon | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bench') 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 { for (&benches) |bench| { const exe = b.addExecutable(.{ .name = bench.name, - .root_source_file = .{ .path = bench.src }, + .root_source_file = b.path(bench.src), .target = target, .optimize = optimize, .strip = true, @@ -125,7 +125,7 @@ pub fn build(b: *std.Build) !void { // Tests const unit_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/tests.zig" }, + .root_source_file = b.path("src/tests.zig"), .target = target, .optimize = optimize, }); 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 @@ .dependencies = .{ .ziglyph = .{ .url = "https://codeberg.org/dude_the_builder/ziglyph/archive/main.tar.gz", - .hash = "12203449cf66ddeb1d9c13cb4722e906f1b389e59724f0a83c21705a531f9e5a2670", + .hash = "12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25", }, .zg = .{ .path = ".." }, }, -- cgit v1.2.3