From 32267c88c44d5c7a31a78f6e8de00a3528a1d443 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Tue, 4 Aug 2020 16:27:16 -0400 Subject: [rust] Disable clippy for rust_bindgen modules. bindgen generated code may not pass clippy checks, so preemptively disable clippy for these. Bug: 162828070 Test: clippy is not called when compiling rust_bindgen library variants. Change-Id: I9632c889417bdfd1adf96d9cfbccbe6340824205 --- rust/bindgen.go | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/bindgen.go') diff --git a/rust/bindgen.go b/rust/bindgen.go index 304f8ec38..b926e0894 100644 --- a/rust/bindgen.go +++ b/rust/bindgen.go @@ -177,6 +177,7 @@ func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorat module.sourceProvider = bindgen module.compiler = library + module.setClippy(false) return module, bindgen } -- cgit v1.2.3-59-g8ed1b