boostrap: skip no_std targets in Std doc step
This commit is contained in:
parent
f77247ac59
commit
ea10f8efa1
1 changed files with 4 additions and 0 deletions
|
|
@ -580,6 +580,10 @@ impl Step for Std {
|
|||
|
||||
fn make_run(run: RunConfig<'_>) {
|
||||
let crates = compile::std_crates_for_run_make(&run);
|
||||
let target_is_no_std = run.builder.no_std(run.target).unwrap_or(false);
|
||||
if crates.is_empty() && target_is_no_std {
|
||||
return;
|
||||
}
|
||||
run.builder.ensure(Std {
|
||||
stage: run.builder.top_stage,
|
||||
target: run.target,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue