authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-24 21:47:13+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-24 22:11:17+01:00
logc4cd3c0541d605141b80c5b65f4a5d09c02c0f96
treee7ee0b6f2c441ec1ab9e2490fde624a262152d08
parentad2be71514adb5f46176c80d6376e74df5f93c93
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Force compile test cases to be codegen'd if requested.


1 files changed, 4 insertions(+), 0 deletions(-)

test/src/Cases.zig+4
...@@ -723,6 +723,10 @@ pub fn lowerToBuildSteps(...@@ -723,6 +723,10 @@ pub fn lowerToBuildSteps(
723723
724 switch (update.case) {724 switch (update.case) {
725 .Compile => {725 .Compile => {
726 // Force the binary to be emitted if requested.
727 if (case.emit_bin) {
728 _ = artifact.getEmittedBin();
729 }
726 parent_step.dependOn(&artifact.step);730 parent_step.dependOn(&artifact.step);
727 },731 },
728 .CompareObjectFile => |expected_output| {732 .CompareObjectFile => |expected_output| {