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 {
114114 match cmd_kind {
115115 // No need to configure the target linker for these command types,
116116 // 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 => { }
118118 _ => {
119119 cargo. configure_linker ( builder) ;
120120 }
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ pub fn find(build: &Build) {
9696 let targets: HashSet < _ > = match build. config . cmd {
9797 // We don't need to check cross targets for these commands.
9898 crate :: Subcommand :: Clean { .. }
99+ | crate :: Subcommand :: Check { .. }
99100 | crate :: Subcommand :: Suggest { .. }
100101 | crate :: Subcommand :: Format { .. }
101102 | crate :: Subcommand :: Setup { .. } => {
You can’t perform that action at this time.
0 commit comments