Skip to content

Commit ff4f4d2

Browse files
committed
Do not skip linker configuration for check builds
It was causing unexpected rebuilds.
1 parent 085744b commit ff4f4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2466,7 +2466,7 @@ impl Cargo {
24662466

24672467
match cmd_kind {
24682468
// No need to configure the target linker for these command types.
2469-
Kind::Clean | Kind::Check | Kind::Suggest | Kind::Format | Kind::Setup => {}
2469+
Kind::Clean | Kind::Suggest | Kind::Format | Kind::Setup => {}
24702470
_ => {
24712471
cargo.configure_linker(builder);
24722472
}

0 commit comments

Comments
 (0)