Skip to content

Commit ac34f96

Browse files
committed
don't build default target twice
1 parent c972937 commit ac34f96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ impl RustwideBuilder {
349349
// Then build the documentation for all the targets
350350
for target in TARGETS {
351351
debug!("building package {} {} for {}", name, version, target);
352+
if *target == res.target {
353+
continue;
354+
}
352355
self.build_target(
353356
target,
354357
&build,

0 commit comments

Comments
 (0)