authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-01 16:38:02-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-01 16:38:02-07:00
log8db1490b8a36155d85a2d5741f97984ff583cfde
tree8f9698d7926d1598e8a81ac5e996ade19a4b25b1
parenta717ac0340b6d177e4f02d96dff5418e6961391c

update test build script to latest API


1 files changed, 3 insertions(+), 3 deletions(-)

test/standalone/dep_duplicate_module/build.zig+3-3
...@@ -5,14 +5,14 @@ pub fn build(b: *std.Build) void {...@@ -5,14 +5,14 @@ pub fn build(b: *std.Build) void {
5 const optimize = b.standardOptimizeOption(.{});5 const optimize = b.standardOptimizeOption(.{});
66
7 const mod = b.addModule("mod", .{7 const mod = b.addModule("mod", .{
8 .root_source_file = .{ .path = "mod.zig" },8 .root_source_file = b.path("mod.zig"),
9 .target = target,9 .target = target,
10 .optimize = optimize,10 .optimize = optimize,
11 });11 });
1212
13 const lib = b.addStaticLibrary(.{13 const lib = b.addStaticLibrary(.{
14 .name = "lib",14 .name = "lib",
15 .root_source_file = .{ .path = "lib.zig" },15 .root_source_file = b.path("lib.zig"),
16 .target = target,16 .target = target,
17 .optimize = optimize,17 .optimize = optimize,
18 });18 });
...@@ -20,7 +20,7 @@ pub fn build(b: *std.Build) void {...@@ -20,7 +20,7 @@ pub fn build(b: *std.Build) void {
2020
21 const exe = b.addExecutable(.{21 const exe = b.addExecutable(.{
22 .name = "app",22 .name = "app",
23 .root_source_file = .{ .path = "main.zig" },23 .root_source_file = b.path("main.zig"),
24 .target = target,24 .target = target,
25 .optimize = optimize,25 .optimize = optimize,
26 });26 });