use serde::Deserialize;
+use crate::builder::crate_description;
use crate::builder::Cargo;
use crate::builder::{Builder, Kind, RunConfig, ShouldRun, Step};
use crate::cache::{Interned, INTERNER};
std_cargo(builder, target, compiler.stage, &mut cargo);
builder.info(&format!(
- "Building stage{} std artifacts ({} -> {})",
- compiler.stage, &compiler.host, target
+ "Building stage{} std artifacts ({} -> {}){}",
+ compiler.stage,
+ &compiler.host,
+ target,
+ crate_description(self.crates),
));
run_cargo(
builder,
));
}
- // cfg(bootstrap): remove if condition once the bootstrap compiler supports dylib LTO
+ // We currently don't support cross-crate LTO in stage0. This also isn't hugely necessary
+ // and may just be a time sink.
if compiler.stage != 0 {
match builder.config.rust_lto {
RustcLto::Thin | RustcLto::Fat => {
}
builder.info(&format!(
- "Building stage{} compiler artifacts ({} -> {})",
- compiler.stage, &compiler.host, target
+ "Building stage{} compiler artifacts ({} -> {}){}",
+ compiler.stage,
+ &compiler.host,
+ target,
+ crate_description(self.crates),
));
run_cargo(
builder,