Skip to content

Commit ed8f675

Browse files
committed
don't build default target twice
1 parent 3ba7c15 commit ed8f675

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

0 commit comments

Comments
 (0)