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 npm;
9pub mod stage0_parser;
10pub mod targets;
11pub mod util;
12
13/// The default set of crates for opt-dist to collect LLVM profiles.
14pub const LLVM_PGO_CRATES: &[&str] = &[
15    "syn-2.0.101",
16    "cargo-0.87.1",
17    "serde-1.0.219",
18    "ripgrep-14.1.1",
19    "regex-automata-0.4.8",
20    "clap_derive-4.5.32",
21    "hyper-1.6.0",
22];
23
24/// The default set of crates for opt-dist to collect rustc profiles.
25pub const RUSTC_PGO_CRATES: &[&str] = &[
26    "externs",
27    "ctfe-stress-5",
28    "cargo-0.87.1",
29    "token-stream-stress",
30    "match-stress",
31    "tuple-stress",
32    "diesel-2.2.10",
33    "bitmaps-3.2.1",
34    "serde-1.0.219-new-solver",
35];