@@ -27,8 +27,10 @@ use crate::core::config::flags::Subcommand;
2727use crate :: core:: config:: TargetSelection ;
2828use crate :: utils;
2929use 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} ;
3234use crate :: { envify, CLang , DocTests , GitRepo , Mode } ;
3335
3436const ADB_TEST_DIR : & str = "/data/local/tmp/work" ;
@@ -905,7 +907,8 @@ impl Step for RustdocJSStd {
905907 . arg ( "--test-folder" )
906908 . arg ( builder. src . join ( "tests/rustdoc-js-std" ) ) ;
907909 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+ {
909912 if !p. ends_with ( ".js" ) {
910913 eprintln ! ( "A non-js file was given: `{}`" , path. display( ) ) ;
911914 panic ! ( "Cannot run rustdoc-js-std tests" ) ;
@@ -2680,7 +2683,9 @@ impl Step for Distcheck {
26802683 . current_dir ( & dir) ,
26812684 ) ;
26822685 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) ,
26842689 ) ;
26852690
26862691 // Now make sure that rust-src has all of libstd's dependencies
0 commit comments