Skip to content

Commit

Permalink
Merge pull request #421 from LucioFranco/lucio/fix-rustdoc-args
Browse files Browse the repository at this point in the history
Forward package rustdoc_args to rustdoc
  • Loading branch information
pietroalbini authored Oct 7, 2019
2 parents 0868fa4 + ca185f8 commit 62819fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/docbuilder/rustwide_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ impl RustwideBuilder {
dep.version
));
}
if let Some(package_rustdoc_args) = &metadata.rustdoc_args {
rustdoc_flags.append(&mut package_rustdoc_args.iter().map(|s| s.to_owned()).collect());
}
let mut cargo_args = vec![
"doc".to_owned(),
"--lib".to_owned(),
Expand Down

0 comments on commit 62819fc

Please sign in to comment.