Skip to content

Commit f4ff9c6

Browse files
committed
add FIXME for making the cargo cmd properly typed
1 parent a33fd9d commit f4ff9c6

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
@@ -1316,7 +1316,7 @@ impl<'a> Builder<'a> {
13161316
compiler: Compiler,
13171317
mode: Mode,
13181318
target: TargetSelection,
1319-
cmd: &str,
1319+
cmd: &str, // FIXME make this properly typed
13201320
) -> Command {
13211321
let mut cargo;
13221322
if cmd == "clippy" {
@@ -1390,7 +1390,7 @@ impl<'a> Builder<'a> {
13901390
mode: Mode,
13911391
source_type: SourceType,
13921392
target: TargetSelection,
1393-
cmd: &str,
1393+
cmd: &str, // FIXME make this properly typed
13941394
) -> Cargo {
13951395
let mut cargo = self.bare_cargo(compiler, mode, target, cmd);
13961396
let out_dir = self.stage_out(compiler, mode);
@@ -2338,7 +2338,7 @@ impl Cargo {
23382338
mode: Mode,
23392339
source_type: SourceType,
23402340
target: TargetSelection,
2341-
cmd: &str,
2341+
cmd: &str, // FIXME make this properly typed
23422342
) -> Cargo {
23432343
let mut cargo = builder.cargo(compiler, mode, source_type, target, cmd);
23442344
cargo.configure_linker(builder);
@@ -2352,7 +2352,7 @@ impl Cargo {
23522352
mode: Mode,
23532353
source_type: SourceType,
23542354
target: TargetSelection,
2355-
cmd: &str,
2355+
cmd: &str, // FIXME make this properly typed
23562356
) -> Cargo {
23572357
builder.cargo(compiler, mode, source_type, target, cmd)
23582358
}

0 commit comments

Comments
 (0)