Skip to content

Commit

Permalink
add FIXME for making the cargo cmd properly typed
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 30, 2024
1 parent 9b64687 commit 5b7b4b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ impl<'a> Builder<'a> {
compiler: Compiler,
mode: Mode,
target: TargetSelection,
cmd: &str,
cmd: &str, // FIXME make this properly typed
) -> Command {
let mut cargo;
if cmd == "clippy" {
Expand Down Expand Up @@ -1392,7 +1392,7 @@ impl<'a> Builder<'a> {
mode: Mode,
source_type: SourceType,
target: TargetSelection,
cmd: &str,
cmd: &str, // FIXME make this properly typed
) -> Cargo {
let mut cargo = self.bare_cargo(compiler, mode, target, cmd);
let out_dir = self.stage_out(compiler, mode);
Expand Down Expand Up @@ -2340,7 +2340,7 @@ impl Cargo {
mode: Mode,
source_type: SourceType,
target: TargetSelection,
cmd: &str,
cmd: &str, // FIXME make this properly typed
) -> Cargo {
let mut cargo = builder.cargo(compiler, mode, source_type, target, cmd);
cargo.configure_linker(builder);
Expand All @@ -2354,7 +2354,7 @@ impl Cargo {
mode: Mode,
source_type: SourceType,
target: TargetSelection,
cmd: &str,
cmd: &str, // FIXME make this properly typed
) -> Cargo {
builder.cargo(compiler, mode, source_type, target, cmd)
}
Expand Down

0 comments on commit 5b7b4b6

Please sign in to comment.