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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/build.zig') 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, }); -- cgit v1.2.3