Skip to content

Commit

Permalink
returning a None dist_compile_cmd should not report a failed dist com…
Browse files Browse the repository at this point in the history
…pile
  • Loading branch information
trxcllnt committed Aug 9, 2024
1 parent 358c47c commit dfdb973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ where
.generate_compile_commands(&mut path_transformer, rewrite_includes_only)
.context("Failed to generate compile commands")?;

let dist_client = match dist_client {
let dist_client = match dist_compile_cmd.clone().and(dist_client) {
Some(dc) => dc,
None => {
debug!("[{}]: Compiling locally", out_pretty);
Expand Down

0 comments on commit dfdb973

Please sign in to comment.