@@ -1318,7 +1318,7 @@ impl<'a> Builder<'a> {
1318
1318
compiler : Compiler ,
1319
1319
mode : Mode ,
1320
1320
target : TargetSelection ,
1321
- cmd : & str ,
1321
+ cmd : & str , // FIXME make this properly typed
1322
1322
) -> Command {
1323
1323
let mut cargo;
1324
1324
if cmd == "clippy" {
@@ -1392,7 +1392,7 @@ impl<'a> Builder<'a> {
1392
1392
mode : Mode ,
1393
1393
source_type : SourceType ,
1394
1394
target : TargetSelection ,
1395
- cmd : & str ,
1395
+ cmd : & str , // FIXME make this properly typed
1396
1396
) -> Cargo {
1397
1397
let mut cargo = self . bare_cargo ( compiler, mode, target, cmd) ;
1398
1398
let out_dir = self . stage_out ( compiler, mode) ;
@@ -2100,7 +2100,7 @@ impl<'a> Builder<'a> {
2100
2100
rustflags. arg ( "-Zinline-mir" ) ;
2101
2101
}
2102
2102
2103
- if builder . config . rustc_parallel
2103
+ if self . config . rustc_parallel
2104
2104
&& matches ! ( mode, Mode :: ToolRustc | Mode :: Rustc | Mode :: Codegen )
2105
2105
{
2106
2106
// keep in sync with `bootstrap/lib.rs:Build::rustc_features`
@@ -2342,7 +2342,7 @@ impl Cargo {
2342
2342
mode : Mode ,
2343
2343
source_type : SourceType ,
2344
2344
target : TargetSelection ,
2345
- cmd : & str ,
2345
+ cmd : & str , // FIXME make this properly typed
2346
2346
) -> Cargo {
2347
2347
let mut cargo = builder. cargo ( compiler, mode, source_type, target, cmd) ;
2348
2348
cargo. configure_linker ( builder) ;
@@ -2356,7 +2356,7 @@ impl Cargo {
2356
2356
mode : Mode ,
2357
2357
source_type : SourceType ,
2358
2358
target : TargetSelection ,
2359
- cmd : & str ,
2359
+ cmd : & str , // FIXME make this properly typed
2360
2360
) -> Cargo {
2361
2361
builder. cargo ( compiler, mode, source_type, target, cmd)
2362
2362
}
0 commit comments