build_helper/
lib.rs

1//! Types and functions shared across tools in this workspace.
2
3pub mod ci;
4pub mod drop_bomb;
5pub mod fs;
6pub mod git;
7pub mod metrics;
8pub mod stage0_parser;
9pub mod util;
10
11/// The default set of crates for opt-dist to collect LLVM profiles.
12pub const LLVM_PGO_CRATES: &[&str] = &[
13    "syn-1.0.89",
14    "cargo-0.60.0",
15    "serde-1.0.136",
16    "ripgrep-13.0.0",
17    "regex-1.5.5",
18    "clap-3.1.6",
19    "hyper-0.14.18",
20];
21
22/// The default set of crates for opt-dist to collect rustc profiles.
23pub const RUSTC_PGO_CRATES: &[&str] = &[
24    "externs",
25    "ctfe-stress-5",
26    "cargo-0.60.0",
27    "token-stream-stress",
28    "match-stress",
29    "tuple-stress",
30    "diesel-1.4.8",
31    "bitmaps-3.1.0",
32];