We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f77247a commit ea10f8eCopy full SHA for ea10f8e
src/bootstrap/src/core/build_steps/doc.rs
@@ -580,6 +580,10 @@ impl Step for Std {
580
581
fn make_run(run: RunConfig<'_>) {
582
let crates = compile::std_crates_for_run_make(&run);
583
+ let target_is_no_std = run.builder.no_std(run.target).unwrap_or(false);
584
+ if crates.is_empty() && target_is_no_std {
585
+ return;
586
+ }
587
run.builder.ensure(Std {
588
stage: run.builder.top_stage,
589
target: run.target,
0 commit comments