File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -259,18 +259,18 @@ than building it.
259259 has_target |= STAGE0_MISSING_TARGETS . contains ( & target_str. as_str ( ) ) ;
260260
261261 if !has_target {
262- // This might also be a custom target, so check the target file that could have been specified by the user.
262+ // This might also be a custom target, so check the target file that could have been specified by the user.
263263 if target. filepath ( ) . is_some_and ( |p| p. exists ( ) ) {
264264 has_target = true ;
265265 } else if let Some ( custom_target_path) = env:: var_os ( "RUST_TARGET_PATH" ) {
266266 let mut target_filename = OsString :: from ( & target_str) ;
267267 // Target filename ends with `.json`.
268268 target_filename. push ( ".json" ) ;
269-
269+
270270 // Recursively traverse through nested directories.
271271 let walker = walkdir:: WalkDir :: new ( custom_target_path) . into_iter ( ) ;
272272 for entry in walker. filter_map ( |e| e. ok ( ) ) {
273- has_target |= entry. file_name ( ) == target_filename;
273+ has_target |= entry. file_name ( ) == target_filename;
274274 }
275275 }
276276 }
You can’t perform that action at this time.
0 commit comments