mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
test: Force compile test cases to be codegen'd if requested.
This commit is contained in:
parent
ad2be71514
commit
c4cd3c0541
1 changed files with 4 additions and 0 deletions
|
|
@ -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| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue