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 b77ba17 commit e990cde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bootstrap/src/core/builder.rs
Expand Up @@ -1316,7 +1316,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 @@ -1390,7 +1390,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 @@ -2338,7 +2338,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 @@ -2352,7 +2352,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 e990cde

Please sign in to comment.