Silence rustdoc warnings from 3rd party Crates
Test: m rustdoc Change-Id: I25599845b2bec76d92fd325b62132aeac9dd74c4
This commit is contained in:
parent
4d3f11ccb3
commit
7b3eb24e29
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ func Rustdoc(ctx ModuleContext, main android.Path, deps PathDeps,
|
|||
// Silence warnings about renamed lints for third-party crates
|
||||
modulePath := android.PathForModuleSrc(ctx).String()
|
||||
if android.IsThirdPartyPath(modulePath) {
|
||||
rustdocFlags = append(rustdocFlags, " -A renamed_and_removed_lints")
|
||||
rustdocFlags = append(rustdocFlags, " -A warnings")
|
||||
}
|
||||
|
||||
// Yes, the same out directory is used simultaneously by all rustdoc builds.
|
||||
|
|
Loading…
Reference in a new issue