Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9406fc20 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Silence rustdoc warnings from 3rd party Crates"

parents c4518304 7b3eb24e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.