Skip to content

Commit

Permalink
fix: don't add mi as output in build graph when -no-mi for gen test b…
Browse files Browse the repository at this point in the history
…uild-package (#461)
  • Loading branch information
Young-Flash authored Nov 11, 2024
1 parent cb4b13d commit 8dc50d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/moonbuild/src/gen/gen_runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,11 @@ pub fn gen_runtest_build_command(
};

let outs = BuildOuts {
ids: vec![core_output_id, mi_output_id],
ids: if item.no_mi {
vec![core_output_id]
} else {
vec![core_output_id, mi_output_id]
},
explicit: 1,
};

Expand Down

0 comments on commit 8dc50d1

Please sign in to comment.