From 9cd668cc5c152520a2a8acbc6fcb16213e5bccc3 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Thu, 4 Apr 2024 16:12:50 +0000 Subject: [PATCH] disable `cargo-0.60.0`-based PGO Old cargo has `Err()?`-kind of looking code, which fails `bors try`. This is a band-aid for a crater run, we should find a way to keep PGO (do we just update the cargo version used?...) --- src/tools/opt-dist/src/training.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/opt-dist/src/training.rs b/src/tools/opt-dist/src/training.rs index 46040e32a0399..5ded6ceb4f807 100644 --- a/src/tools/opt-dist/src/training.rs +++ b/src/tools/opt-dist/src/training.rs @@ -8,7 +8,7 @@ use humansize::BINARY; const LLVM_PGO_CRATES: &[&str] = &[ "syn-1.0.89", - "cargo-0.60.0", + //"cargo-0.60.0", "serde-1.0.136", "ripgrep-13.0.0", "regex-1.5.5", @@ -19,7 +19,7 @@ const LLVM_PGO_CRATES: &[&str] = &[ const RUSTC_PGO_CRATES: &[&str] = &[ "externs", "ctfe-stress-5", - "cargo-0.60.0", + //"cargo-0.60.0", "token-stream-stress", "match-stress", "tuple-stress",