Skip to content

Commit 5b7b4b6

Browse files
committed
add FIXME for making the cargo cmd properly typed
1 parent 9b64687 commit 5b7b4b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bootstrap/src/core/builder.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ impl<'a> Builder<'a> {
13181318
compiler: Compiler,
13191319
mode: Mode,
13201320
target: TargetSelection,
1321-
cmd: &str,
1321+
cmd: &str, // FIXME make this properly typed
13221322
) -> Command {
13231323
let mut cargo;
13241324
if cmd == "clippy" {
@@ -1392,7 +1392,7 @@ impl<'a> Builder<'a> {
13921392
mode: Mode,
13931393
source_type: SourceType,
13941394
target: TargetSelection,
1395-
cmd: &str,
1395+
cmd: &str, // FIXME make this properly typed
13961396
) -> Cargo {
13971397
let mut cargo = self.bare_cargo(compiler, mode, target, cmd);
13981398
let out_dir = self.stage_out(compiler, mode);
@@ -2340,7 +2340,7 @@ impl Cargo {
23402340
mode: Mode,
23412341
source_type: SourceType,
23422342
target: TargetSelection,
2343-
cmd: &str,
2343+
cmd: &str, // FIXME make this properly typed
23442344
) -> Cargo {
23452345
let mut cargo = builder.cargo(compiler, mode, source_type, target, cmd);
23462346
cargo.configure_linker(builder);
@@ -2354,7 +2354,7 @@ impl Cargo {
23542354
mode: Mode,
23552355
source_type: SourceType,
23562356
target: TargetSelection,
2357-
cmd: &str,
2357+
cmd: &str, // FIXME make this properly typed
23582358
) -> Cargo {
23592359
builder.cargo(compiler, mode, source_type, target, cmd)
23602360
}

0 commit comments

Comments
 (0)