@@ -1098,7 +1098,6 @@ tool_extended!((self, builder),
1098
1098
1099
1099
#[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
1100
1100
pub struct TestFloatParse {
1101
- pub path : PathBuf ,
1102
1101
pub host : TargetSelection ,
1103
1102
}
1104
1103
@@ -1111,32 +1110,25 @@ impl Step for TestFloatParse {
1111
1110
run. path ( "src/etc/test-float-parse" )
1112
1111
}
1113
1112
1114
- fn make_run ( run : RunConfig < ' _ > ) {
1115
- for path in run. paths {
1116
- let path = path. assert_single_path ( ) . path . clone ( ) ;
1117
- run. builder . ensure ( Self { path, host : run. target } ) ;
1118
- }
1113
+ fn make_run ( _run : RunConfig < ' _ > ) {
1114
+ unimplemented ! ( )
1119
1115
}
1120
1116
1121
1117
fn run ( self , builder : & Builder < ' _ > ) {
1122
1118
let bootstrap_host = builder. config . build ;
1123
1119
let compiler = builder. compiler ( builder. top_stage , bootstrap_host) ;
1124
- let path: & ' static str =
1125
- Box :: leak ( self . path . to_str ( ) . unwrap ( ) . to_string ( ) . into_boxed_str ( ) ) ;
1126
1120
1127
- if !builder. download_rustc ( ) {
1128
- builder. ensure ( ToolBuild {
1129
- compiler,
1130
- target : bootstrap_host,
1131
- tool : "test-float-parse" ,
1132
- mode : Mode :: ToolStd ,
1133
- path,
1134
- source_type : SourceType :: InTree ,
1135
- extra_features : Vec :: new ( ) ,
1136
- allow_features : "" ,
1137
- cargo_args : Vec :: new ( ) ,
1138
- } ) ;
1139
- }
1121
+ builder. ensure ( ToolBuild {
1122
+ compiler,
1123
+ target : bootstrap_host,
1124
+ tool : "test-float-parse" ,
1125
+ mode : Mode :: ToolStd ,
1126
+ path : "src/etc/test-float-parse" ,
1127
+ source_type : SourceType :: InTree ,
1128
+ extra_features : Vec :: new ( ) ,
1129
+ allow_features : "" ,
1130
+ cargo_args : Vec :: new ( ) ,
1131
+ } ) ;
1140
1132
}
1141
1133
}
1142
1134
0 commit comments