Skip to content

Commit

Permalink
Auto merge of #112049 - Kobzol:pgo-omit-benchmarks, r=<try>
Browse files Browse the repository at this point in the history
[do not merge] CI experiments

Various CI experiments for try/dist builds.

r? `@ghost`
  • Loading branch information
bors committed Jan 21, 2025
2 parents ebbe638 + 9a8e0ba commit 100a5b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ impl Step for Rustdoc {
}

// NOTE: Never modify the rustflags here, it breaks the build cache for other tools!
let cargo = prepare_tool_cargo(
let mut cargo = prepare_tool_cargo(
builder,
build_compiler,
Mode::ToolRustc,
Expand All @@ -655,6 +655,7 @@ impl Step for Rustdoc {
SourceType::InTree,
features.as_slice(),
);
cargo.env("CARGO_PROFILE_RELEASE_LTO", "thin");

let _guard = builder.msg_tool(
Kind::Build,
Expand Down

0 comments on commit 100a5b3

Please sign in to comment.