Skip to content

Commit 7d23b1a

Browse files
committed
don't build default target twice
1 parent 47e9214 commit 7d23b1a

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
@@ -312,6 +312,9 @@ impl RustwideBuilder {
312312
// Then build the documentation for all the targets
313313
for target in TARGETS {
314314
debug!("building package {} {} for {}", name, version, target);
315+
if *target == res.target {
316+
continue;
317+
}
315318
self.build_target(
316319
target,
317320
&build,

0 commit comments

Comments
 (0)