diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-04-11 14:02:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-04-11 14:02:47 -0700 |
| commit | b30ad7490891ca3522abdd0a1ffaf809df497f3d (patch) | |
| tree | 7f72ab80c7c580a8860ef8a0427f00673d367f62 /test/standalone/stack_iterator/build.zig | |
| parent | 3d1652070acd01b7c871615702916425cd292a8a (diff) | |
| download | zig-b30ad7490891ca3522abdd0a1ffaf809df497f3d.tar.gz zig-b30ad7490891ca3522abdd0a1ffaf809df497f3d.zip | |
remove deprecated LazyPath.path union tag
Diffstat (limited to 'test/standalone/stack_iterator/build.zig')
| -rw-r--r-- | test/standalone/stack_iterator/build.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/standalone/stack_iterator/build.zig b/test/standalone/stack_iterator/build.zig index 463a533ac4..7041aaa0b8 100644 --- a/test/standalone/stack_iterator/build.zig +++ b/test/standalone/stack_iterator/build.zig @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { { const exe = b.addExecutable(.{ .name = "unwind_fp", - .root_source_file = .{ .path = "unwind.zig" }, + .root_source_file = b.path("unwind.zig"), .target = target, .optimize = optimize, .unwind_tables = if (target.result.isDarwin()) true else null, @@ -42,7 +42,7 @@ pub fn build(b: *std.Build) void { { const exe = b.addExecutable(.{ .name = "unwind_nofp", - .root_source_file = .{ .path = "unwind.zig" }, + .root_source_file = b.path("unwind.zig"), .target = target, .optimize = optimize, .unwind_tables = true, @@ -74,14 +74,14 @@ pub fn build(b: *std.Build) void { c_shared_lib.defineCMacro("LIB_API", "__declspec(dllexport)"); c_shared_lib.addCSourceFile(.{ - .file = .{ .path = "shared_lib.c" }, + .file = b.path("shared_lib.c"), .flags = &.{"-fomit-frame-pointer"}, }); c_shared_lib.linkLibC(); const exe = b.addExecutable(.{ .name = "shared_lib_unwind", - .root_source_file = .{ .path = "shared_lib_unwind.zig" }, + .root_source_file = b.path("shared_lib_unwind.zig"), .target = target, .optimize = optimize, .unwind_tables = if (target.result.isDarwin()) true else null, |
