Skip to content

Commit f134381

Browse files
committed
Hackily disable even more things
1 parent 6f5aab8 commit f134381

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

src/bootstrap/src/core/build_steps/doc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,10 @@ macro_rules! tool_doc {
904904
/// we do not merge it with the other documentation from std, test and
905905
/// proc_macros. This is largely just a wrapper around `cargo doc`.
906906
fn run(self, builder: &Builder<'_>) {
907+
if stringify!($tool).to_lowercase() == "cargo" {
908+
return;
909+
}
910+
907911
let stage = builder.top_stage;
908912
let target = self.target;
909913

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -597,11 +597,11 @@ impl Step for RustAnalyzer {
597597
)
598598
}
599599

600-
fn make_run(run: RunConfig<'_>) {
601-
run.builder.ensure(RustAnalyzer {
602-
compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
603-
target: run.target,
604-
});
600+
fn make_run(_run: RunConfig<'_>) {
601+
// run.builder.ensure(RustAnalyzer {
602+
// compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
603+
// target: run.target,
604+
// });
605605
}
606606

607607
fn run(self, builder: &Builder<'_>) -> PathBuf {
@@ -644,11 +644,11 @@ impl Step for RustAnalyzerProcMacroSrv {
644644
)
645645
}
646646

647-
fn make_run(run: RunConfig<'_>) {
648-
run.builder.ensure(RustAnalyzerProcMacroSrv {
649-
compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
650-
target: run.target,
651-
});
647+
fn make_run(_run: RunConfig<'_>) {
648+
// run.builder.ensure(RustAnalyzerProcMacroSrv {
649+
// compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
650+
// target: run.target,
651+
// });
652652
}
653653

654654
fn run(self, builder: &Builder<'_>) -> Option<PathBuf> {
@@ -784,6 +784,10 @@ macro_rules! tool_extended {
784784
}
785785

786786
fn make_run(run: RunConfig<'_>) {
787+
if stringify!($name).to_lowercase().ends_with("clippy") {
788+
return;
789+
}
790+
787791
run.builder.ensure($name {
788792
compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.build),
789793
target: run.target,

src/tools/opt-dist/src/training.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use humansize::BINARY;
88

99
const LLVM_PGO_CRATES: &[&str] = &[
1010
"syn-1.0.89",
11-
"cargo-0.60.0",
11+
//"cargo-0.60.0",
1212
"serde-1.0.136",
1313
"ripgrep-13.0.0",
1414
"regex-1.5.5",
@@ -19,7 +19,7 @@ const LLVM_PGO_CRATES: &[&str] = &[
1919
const RUSTC_PGO_CRATES: &[&str] = &[
2020
"externs",
2121
"ctfe-stress-5",
22-
"cargo-0.60.0",
22+
//"cargo-0.60.0",
2323
"token-stream-stress",
2424
"match-stress",
2525
"tuple-stress",

0 commit comments

Comments
 (0)