Skip to main content

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