Skip to content

Commit

Permalink
Don't filter on workspace members when scraping doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 30, 2023
1 parent bec67ed commit ce8dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ fn prepare_rustdoc(cx: &Context<'_, '_>, unit: &Unit) -> CargoResult<ProcessBuil
.arg(scrape_output_path(cx, unit)?);

// Only scrape example for items from crates in the workspace, to reduce generated file size
for pkg in cx.bcx.ws.members() {
for pkg in cx.bcx.packages.packages() {
let names = pkg
.targets()
.iter()
Expand Down

0 comments on commit ce8dc50

Please sign in to comment.