Skip to content

Commit

Permalink
Fix unconditional cargo metadata printing on flag support check (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahlinc authored Nov 29, 2023
1 parent 2d6a3b2 commit bfd68f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ impl Build {
let host = self.get_host()?;
let mut cfg = Build::new();
cfg.flag(flag)
.cargo_metadata(self.cargo_metadata)
.target(&target)
.opt_level(0)
.host(&host)
Expand Down

0 comments on commit bfd68f2

Please sign in to comment.