diff options
author | 2023-02-14 16:09:49 -0800 | |
---|---|---|
committer | 2023-02-14 16:09:49 -0800 | |
commit | 7b3eb24e2908cb087211ff052a96c17ba394e8d5 (patch) | |
tree | ff05a988dd4afe4dac26ca136fa774162e4a732c /rust/builder.go | |
parent | 4d3f11ccb3da56f0c21f9731561a65f0d023e7e8 (diff) |
Silence rustdoc warnings from 3rd party Crates
Test: m rustdoc
Change-Id: I25599845b2bec76d92fd325b62132aeac9dd74c4
Diffstat (limited to 'rust/builder.go')
-rw-r--r-- | rust/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/builder.go b/rust/builder.go index 7dd9dd276..5b5c993fb 100644 --- a/rust/builder.go +++ b/rust/builder.go @@ -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. |