diff --git a/test/src/Cases.zig b/test/src/Cases.zig index e6d1f966c0d88b416492bd3c4f38ffda54100bd4..78f538fb16195b60c96749927c04a7f2afdbe700 100644 --- a/test/src/Cases.zig +++ b/test/src/Cases.zig @@ -723,6 +723,10 @@ pub fn lowerToBuildSteps( switch (update.case) { .Compile => { + // Force the binary to be emitted if requested. + if (case.emit_bin) { + _ = artifact.getEmittedBin(); + } parent_step.dependOn(&artifact.step); }, .CompareObjectFile => |expected_output| {