aboutsummaryrefslogtreecommitdiff
path: root/test/src/Cases.zig
diff options
context:
space:
mode:
authorCarl Åstholm <carl@astholm.se>2025-01-24 00:00:12 +0100
committerCarl Åstholm <carl@astholm.se>2025-07-26 12:06:43 +0200
commit154bd2fd0597b23b4e4c95ad86d2b8c5274161e2 (patch)
treea9c3de74e0c9607f53b9489cf50dfa556e411919 /test/src/Cases.zig
parent413179ccfca32691504805d04ab1359104d22144 (diff)
downloadzig-154bd2fd0597b23b4e4c95ad86d2b8c5274161e2.tar.gz
zig-154bd2fd0597b23b4e4c95ad86d2b8c5274161e2.zip
Migrate from deprecated `Step.Compile` APIs
Diffstat (limited to 'test/src/Cases.zig')
-rw-r--r--test/src/Cases.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/Cases.zig b/test/src/Cases.zig
index 522fe6b385..bd93599171 100644
--- a/test/src/Cases.zig
+++ b/test/src/Cases.zig
@@ -560,7 +560,7 @@ pub fn lowerToTranslateCSteps(
.root_module = translate_c.createModule(),
});
run_exe.step.name = b.fmt("{s} build-exe", .{annotated_case_name});
- run_exe.linkLibC();
+ run_exe.root_module.link_libc = true;
const run = b.addRunArtifact(run_exe);
run.step.name = b.fmt("{s} run", .{annotated_case_name});
run.expectStdOutEqual(output);