File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ impl Cargo {
114
114
match cmd_kind {
115
115
// No need to configure the target linker for these command types,
116
116
// as they don't invoke rustc at all.
117
- Kind::Clean | Kind::Suggest | Kind::Format | Kind::Setup => {}
117
+ Kind::Clean | Kind::Check | Kind:: Suggest | Kind::Format | Kind::Setup => {}
118
118
_ => {
119
119
cargo.configure_linker(builder);
120
120
}
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ pub fn find(build: &Build) {
96
96
let targets: HashSet<_> = match build.config.cmd {
97
97
// We don't need to check cross targets for these commands.
98
98
crate::Subcommand::Clean { .. }
99
+ | crate::Subcommand::Check { .. }
99
100
| crate::Subcommand::Suggest { .. }
100
101
| crate::Subcommand::Format { .. }
101
102
| crate::Subcommand::Setup { .. } => {
You can’t perform that action at this time.
0 commit comments