We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d4794b + 33783d9 commit 33851c7Copy full SHA for 33851c7
build.zig
@@ -2,15 +2,15 @@ const std = @import("std");
2
3
pub fn build(b: *std.Build) void {
4
_ = b.addModule("any-pointer", .{
5
- .root_source_file = .{ .path = "any-pointer.zig" },
+ .root_source_file = b.path("any-pointer.zig"),
6
});
7
8
const test_step = b.step("test", "Run library tests");
9
10
const all_modes = std.enums.values(std.builtin.OptimizeMode);
11
for (all_modes) |optimize| {
12
const main_tests = b.addTest(.{
13
- .root_source_file = .{ .path = "tests.zig" },
+ .root_source_file = b.path("tests.zig"),
14
.optimize = optimize,
15
16
0 commit comments