We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd668c commit b288d58Copy full SHA for b288d58
src/bootstrap/src/core/build_steps/tool.rs
@@ -534,25 +534,10 @@ impl Step for Cargo {
534
)
535
}
536
537
- fn make_run(run: RunConfig<'_>) {
538
- run.builder.ensure(Cargo {
539
- compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
540
- target: run.target,
541
- });
542
- }
+ fn make_run(_run: RunConfig<'_>) {}
543
544
fn run(self, builder: &Builder<'_>) -> PathBuf {
545
- let cargo_bin_path = builder.ensure(ToolBuild {
546
- compiler: self.compiler,
547
- target: self.target,
548
- tool: "cargo",
549
- mode: Mode::ToolRustc,
550
- path: "src/tools/cargo",
551
- source_type: SourceType::Submodule,
552
- extra_features: Vec::new(),
553
- allow_features: "",
554
555
- cargo_bin_path
+ builder.initial_cargo.clone()
556
557
558
0 commit comments