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.
2 parents 0cb2ee2 + 2805e83 commit 374d262Copy full SHA for 374d262
src/bootstrap/build/step.rs
@@ -150,7 +150,9 @@ fn top_level(build: &Build) -> Vec<Step> {
150
src: Source::Llvm { _dummy: () },
151
target: &build.config.build,
152
};
153
- targets.push(t.doc(stage));
+ if build.config.docs {
154
+ targets.push(t.doc(stage));
155
+ }
156
for host in build.config.host.iter() {
157
if !build.flags.host.contains(host) {
158
continue
@@ -356,7 +358,9 @@ impl<'a> Step<'a> {
356
358
let compiler = self.compiler(stage);
357
359
for target in build.config.target.iter() {
360
let target = self.target(target);
- base.push(target.dist_docs(stage));
361
362
+ base.push(target.dist_docs(stage));
363
364
base.push(target.dist_std(compiler));
365
}
366
0 commit comments