Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -540,7 +540,7 @@ impl Build {
cmd.arg(&src);

let output = cmd.output()?;
let is_supported = output.stderr.is_empty();
let is_supported = output.status.success() && output.stderr.is_empty();

known_status.insert(flag.to_owned(), is_supported);
Ok(is_supported)

0 comments on commit d69bc7d

Please sign in to comment.