File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ impl Step for Clippy {
653
653
let host = self . host ;
654
654
let compiler = builder. compiler ( stage, host) ;
655
655
656
- let clippy = builder
656
+ builder
657
657
. ensure ( tool:: Clippy { compiler, target : self . host , extra_features : Vec :: new ( ) } )
658
658
. expect ( "in-tree tool" ) ;
659
659
let mut cargo = tool:: prepare_tool_cargo (
@@ -672,14 +672,7 @@ impl Step for Clippy {
672
672
cargo. env ( "RUSTC_TEST_SUITE" , builder. rustc ( compiler) ) ;
673
673
cargo. env ( "RUSTC_LIB_PATH" , builder. rustc_libdir ( compiler) ) ;
674
674
let host_libs = builder. stage_out ( compiler, Mode :: ToolRustc ) . join ( builder. cargo_dir ( ) ) ;
675
- let target_libs = builder
676
- . stage_out ( compiler, Mode :: ToolRustc )
677
- . join ( & self . host . triple )
678
- . join ( builder. cargo_dir ( ) ) ;
679
675
cargo. env ( "HOST_LIBS" , host_libs) ;
680
- cargo. env ( "TARGET_LIBS" , target_libs) ;
681
- // clippy tests need to find the driver
682
- cargo. env ( "CLIPPY_DRIVER_PATH" , clippy) ;
683
676
684
677
cargo. arg ( "--" ) . args ( builder. config . cmd . test_args ( ) ) ;
685
678
You can’t perform that action at this time.
0 commit comments