diff options
| author | 2024-06-10 17:47:59 -0400 | |
|---|---|---|
| committer | 2024-06-10 17:47:59 -0400 | |
| commit | 1f241bb722a528d888e8f511ce4c2135ea3b2a39 (patch) | |
| tree | 2eebd12ab03b4eba1e2f55282a08a64042554bff /bench/build.zig | |
| parent | codepoint: prevent panic when last cp too short (diff) | |
| parent | Updated README for v0.13.0 (diff) | |
| download | zg-1f241bb722a528d888e8f511ce4c2135ea3b2a39.tar.gz zg-1f241bb722a528d888e8f511ce4c2135ea3b2a39.tar.xz zg-1f241bb722a528d888e8f511ce4c2135ea3b2a39.zip | |
Merge branch 'master' into pr6
Diffstat (limited to 'bench/build.zig')
| -rw-r--r-- | bench/build.zig | 4 |
1 files changed, 2 insertions, 2 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 | }); |