@@ -17,7 +17,6 @@ use header;
1717use procsrv;
1818use util:: logv;
1919#[ cfg( target_os = "windows" ) ]
20- #[ cfg( stage0, target_os = "win32" ) ] // NOTE: Remove after snapshot
2120use util;
2221
2322use std:: io:: File ;
@@ -819,7 +818,6 @@ fn check_expected_errors(expected_errors: Vec<errors::ExpectedError> ,
819818 } ) . collect :: < Vec < String > > ( ) ;
820819
821820 #[ cfg( target_os = "windows" ) ]
822- #[ cfg( stage0, target_os = "win32" ) ] // NOTE: Remove after snapshot
823821 fn to_lower ( s : & str ) -> String {
824822 let i = s. chars ( ) ;
825823 let c : Vec < char > = i. map ( |c| {
@@ -833,7 +831,6 @@ fn check_expected_errors(expected_errors: Vec<errors::ExpectedError> ,
833831 }
834832
835833 #[ cfg( target_os = "windows" ) ]
836- #[ cfg( stage0, target_os = "win32" ) ] // NOTE: Remove after snapshot
837834 fn prefix_matches ( line : & str , prefix : & str ) -> bool {
838835 to_lower ( line) . as_slice ( ) . starts_with ( to_lower ( prefix) . as_slice ( ) )
839836 }
@@ -1251,15 +1248,13 @@ fn make_cmdline(_libpath: &str, prog: &str, args: &[String]) -> String {
12511248}
12521249
12531250#[ cfg( target_os = "windows" ) ]
1254- #[ cfg( stage0, target_os = "win32" ) ] // NOTE: Remove after snapshot
12551251fn make_cmdline ( libpath : & str , prog : & str , args : & [ String ] ) -> String {
12561252 format ! ( "{} {} {}" , lib_path_cmd_prefix( libpath) , prog, args. connect( " " ) )
12571253}
12581254
12591255// Build the LD_LIBRARY_PATH variable as it would be seen on the command line
12601256// for diagnostic purposes
12611257#[ cfg( target_os = "windows" ) ]
1262- #[ cfg( stage0, target_os = "win32" ) ] // NOTE: Remove after snapshot
12631258fn lib_path_cmd_prefix ( path : & str ) -> String {
12641259 format ! ( "{}=\" {}\" " , util:: lib_path_env_var( ) , util:: make_new_path( path) )
12651260}
0 commit comments