@@ -27,8 +27,10 @@ use crate::core::config::flags::Subcommand;
27
27
use crate :: core:: config:: TargetSelection ;
28
28
use crate :: utils;
29
29
use crate :: utils:: cache:: { Interned , INTERNER } ;
30
- use crate :: utils:: render_tests:: { try_run_tests, add_flags_and_try_run_tests} ;
31
- use crate :: utils:: helpers:: { self , add_link_lib_path, dylib_path, dylib_path_var, output, t, up_to_date} ;
30
+ use crate :: utils:: helpers:: {
31
+ self , add_link_lib_path, dylib_path, dylib_path_var, output, t, up_to_date,
32
+ } ;
33
+ use crate :: utils:: render_tests:: { add_flags_and_try_run_tests, try_run_tests} ;
32
34
use crate :: { envify, CLang , DocTests , GitRepo , Mode } ;
33
35
34
36
const ADB_TEST_DIR : & str = "/data/local/tmp/work" ;
@@ -905,7 +907,8 @@ impl Step for RustdocJSStd {
905
907
. arg ( "--test-folder" )
906
908
. arg ( builder. src . join ( "tests/rustdoc-js-std" ) ) ;
907
909
for path in & builder. paths {
908
- if let Some ( p) = helpers:: is_valid_test_suite_arg ( path, "tests/rustdoc-js-std" , builder) {
910
+ if let Some ( p) = helpers:: is_valid_test_suite_arg ( path, "tests/rustdoc-js-std" , builder)
911
+ {
909
912
if !p. ends_with ( ".js" ) {
910
913
eprintln ! ( "A non-js file was given: `{}`" , path. display( ) ) ;
911
914
panic ! ( "Cannot run rustdoc-js-std tests" ) ;
@@ -2680,7 +2683,9 @@ impl Step for Distcheck {
2680
2683
. current_dir ( & dir) ,
2681
2684
) ;
2682
2685
builder. run (
2683
- Command :: new ( helpers:: make ( & builder. config . build . triple ) ) . arg ( "check" ) . current_dir ( & dir) ,
2686
+ Command :: new ( helpers:: make ( & builder. config . build . triple ) )
2687
+ . arg ( "check" )
2688
+ . current_dir ( & dir) ,
2684
2689
) ;
2685
2690
2686
2691
// Now make sure that rust-src has all of libstd's dependencies
0 commit comments