mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
fix another nesting issue
This commit is contained in:
parent
02ae14c972
commit
3a0caed188
@ -566,10 +566,6 @@ fn doc_std(
|
||||
|
||||
let compiler = builder.compiler(stage, builder.config.build);
|
||||
|
||||
let description =
|
||||
format!("library{} in {} format", crate_description(&requested_crates), format.as_str());
|
||||
let _guard = builder.msg_doc(compiler, &description, target);
|
||||
|
||||
let target_doc_dir_name = if format == DocumentationFormat::JSON { "json-doc" } else { "doc" };
|
||||
let target_dir =
|
||||
builder.stage_out(compiler, Mode::Std).join(target.triple).join(target_doc_dir_name);
|
||||
@ -606,6 +602,10 @@ fn doc_std(
|
||||
cargo.arg("-p").arg(krate);
|
||||
}
|
||||
|
||||
let description =
|
||||
format!("library{} in {} format", crate_description(&requested_crates), format.as_str());
|
||||
let _guard = builder.msg_doc(compiler, &description, target);
|
||||
|
||||
builder.run(&mut cargo.into());
|
||||
builder.cp_r(&out_dir, &out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user