Skip to content

Commit

Permalink
Do not skip linker configuration for check builds
Browse files Browse the repository at this point in the history
It was causing unexpected rebuilds.
  • Loading branch information
Kobzol committed Sep 9, 2024
1 parent 085744b commit ff4f4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,7 @@ impl Cargo {

match cmd_kind {
// No need to configure the target linker for these command types.
Kind::Clean | Kind::Check | Kind::Suggest | Kind::Format | Kind::Setup => {}
Kind::Clean | Kind::Suggest | Kind::Format | Kind::Setup => {}
_ => {
cargo.configure_linker(builder);
}
Expand Down

0 comments on commit ff4f4d2

Please sign in to comment.