diff options
author | 2021-04-29 20:54:39 +0200 | |
---|---|---|
committer | 2021-04-29 20:54:39 +0200 | |
commit | 3160ce9251bed13997ce4356f81d7da0a7438a76 (patch) | |
tree | c53d512dafe9944752089887d4ed8544db1c88d3 | |
parent | 82261324f24bc43e30e12476f242d63397858df0 (diff) |
Disable lints on generated libbinder_ndk_sys
Test: m libbinder_ndk_sys
Change-Id: I64825bd35f52b56331f7210bacb4e46fbb41e95e
-rw-r--r-- | libs/binder/rust/Android.bp | 2 | ||||
-rw-r--r-- | libs/binder/rust/sys/lib.rs | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/libs/binder/rust/Android.bp b/libs/binder/rust/Android.bp index 57c9013f60..49d3401a4f 100644 --- a/libs/binder/rust/Android.bp +++ b/libs/binder/rust/Android.bp @@ -50,6 +50,8 @@ rust_library { "//apex_available:platform", "com.android.virt", ], + lints: "none", + clippy_lints: "none", } rust_bindgen { diff --git a/libs/binder/rust/sys/lib.rs b/libs/binder/rust/sys/lib.rs index 9095af29e0..1d1a295221 100644 --- a/libs/binder/rust/sys/lib.rs +++ b/libs/binder/rust/sys/lib.rs @@ -16,14 +16,6 @@ //! Generated Rust bindings to libbinder_ndk -#![allow( - non_camel_case_types, - non_snake_case, - non_upper_case_globals, - unused, - improper_ctypes, - missing_docs -)] use std::error::Error; use std::fmt; |