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

This commit is contained in:
Alex Rønne Petersen 2024-11-24 21:47:13 +01:00
parent ad2be71514
commit c4cd3c0541
No known key found for this signature in database

View File

@ -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| {