Skip to content

Commit

Permalink
Merge pull request #217 from dtolnay/incremental
Browse files Browse the repository at this point in the history
Turn off incremental compilation
  • Loading branch information
dtolnay authored Jan 7, 2023
2 parents fe468f2 + b34dadc commit fdcebe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fn cargo(project: &Project) -> Command {
cmd.current_dir(&project.dir);
cmd.envs(cargo_target_dir(project));
cmd.envs(rustflags::envs());
cmd.env("CARGO_INCREMENTAL", "0");
cmd.arg("--offline");
cmd
}
Expand Down

0 comments on commit fdcebe2

Please sign in to comment.