Skip to content

Commit

Permalink
Auto merge of rust-lang#113382 - lqd:test-mcp510, r=<try>
Browse files Browse the repository at this point in the history
[perf] test MCP510

r? `@ghost`
  • Loading branch information
bors committed Oct 11, 2024
2 parents 484c8e7 + cec3c69 commit ad3adbd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
14 changes: 12 additions & 2 deletions compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,18 @@ options! {
"show all expected values in check-cfg diagnostics (default: no)"),
checksum_hash_algorithm: Option<SourceFileHashAlgorithm> = (None, parse_cargo_src_file_hash, [TRACKED],
"hash algorithm of source files used to check freshness in cargo (`blake3` or `sha256`)"),
codegen_backend: Option<String> = (None, parse_opt_string, [TRACKED],
"the backend to use"),
codegen_backend: Option<String> = (
{
#[cfg(bootstrap)]
{
None
}

#[cfg(not(bootstrap))]
{
Some("cranelift".into())
}
}, parse_opt_string, [TRACKED], "the backend to use"),
combine_cgu: bool = (false, parse_bool, [TRACKED],
"combine CGUs into a single one"),
coverage_options: CoverageOptions = (CoverageOptions::default(), parse_coverage_options, [TRACKED],
Expand Down
6 changes: 4 additions & 2 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,10 @@ impl Builder {
for pkg in PkgType::all() {
match pkg {
// rustc/rust-std/cargo/docs are all required
PkgType::Rustc | PkgType::Cargo | PkgType::HtmlDocs => {
PkgType::Rustc
| PkgType::Cargo
| PkgType::HtmlDocs
| PkgType::RustcCodegenCranelift => {
components.push(host_component(pkg));
}
PkgType::RustStd => {
Expand Down Expand Up @@ -476,7 +479,6 @@ impl Builder {
| PkgType::LlvmTools
| PkgType::RustAnalysis
| PkgType::JsonDocs
| PkgType::RustcCodegenCranelift
| PkgType::LlvmBitcodeLinker => {
extensions.push(host_component(pkg));
}
Expand Down

0 comments on commit ad3adbd

Please sign in to comment.