mirror of
https://github.com/MasterQ32/zig-args.git
synced 2024-09-08 00:25:42 +02:00
Update uses of LazyPath
The 'path' union field got removed upstream. See: https://github.com/ziglang/zig/pull/19826
This commit is contained in:
parent
adb65692a3
commit
872272205d
1 changed files with 4 additions and 4 deletions
|
@ -5,11 +5,11 @@ pub fn build(b: *std.Build) void {
|
|||
const target = b.standardTargetOptions(.{});
|
||||
|
||||
const args_mod = b.addModule("args", .{
|
||||
.root_source_file = .{ .path = "args.zig" },
|
||||
.root_source_file = b.path("args.zig"),
|
||||
});
|
||||
|
||||
const main_tests = b.addTest(.{
|
||||
.root_source_file = .{ .path = "args.zig" },
|
||||
.root_source_file = b.path("args.zig"),
|
||||
.optimize = optimize,
|
||||
.target = target,
|
||||
});
|
||||
|
@ -20,7 +20,7 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
const demo_exe = b.addExecutable(.{
|
||||
.name = "demo",
|
||||
.root_source_file = .{ .path = "demo.zig" },
|
||||
.root_source_file = b.path("demo.zig"),
|
||||
.optimize = optimize,
|
||||
.target = target,
|
||||
});
|
||||
|
@ -35,7 +35,7 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
const demo_verb_exe = b.addExecutable(.{
|
||||
.name = "demo_verb",
|
||||
.root_source_file = .{ .path = "demo_verb.zig" },
|
||||
.root_source_file = b.path("demo_verb.zig"),
|
||||
.optimize = optimize,
|
||||
.target = target,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue