Skip to content

Commit 62819fc

Browse files
authored
Merge pull request #421 from LucioFranco/lucio/fix-rustdoc-args
Forward package rustdoc_args to rustdoc
2 parents 0868fa4 + ca185f8 commit 62819fc

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
@@ -365,6 +365,9 @@ impl RustwideBuilder {
365365
dep.version
366366
));
367367
}
368+
if let Some(package_rustdoc_args) = &metadata.rustdoc_args {
369+
rustdoc_flags.append(&mut package_rustdoc_args.iter().map(|s| s.to_owned()).collect());
370+
}
368371
let mut cargo_args = vec![
369372
"doc".to_owned(),
370373
"--lib".to_owned(),

0 commit comments

Comments
 (0)