Skip to content

Commit 56f8e2d

Browse files
committed
assert that json exists for all targets
1 parent 679d9d6 commit 56f8e2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,14 @@ mod tests {
14251425

14261426
// other targets too
14271427
for target in DEFAULT_TARGETS {
1428+
// check if rustdoc json files exist for all targets
1429+
assert!(storage.exists(&rustdoc_json_path(
1430+
&crate_,
1431+
&version,
1432+
&target,
1433+
RustdocJsonFormatVersion::Latest
1434+
))?);
1435+
14281436
if target == &default_target {
14291437
continue;
14301438
}

0 commit comments

Comments
 (0)