summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2021-05-05 07:51:17 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-05-05 07:51:17 +0000
commit6118147743c2ac3a3d9e7cb9e5c5f9f8f1644130 (patch)
treeb2747aa6e6fc6cf9f97f5e96468966add1c3e515
parent67d502d84d93f760262540047704c43d722a0005 (diff)
parent3160ce9251bed13997ce4356f81d7da0a7438a76 (diff)
Merge "Disable lints on generated libbinder_ndk_sys"
-rw-r--r--libs/binder/rust/Android.bp2
-rw-r--r--libs/binder/rust/sys/lib.rs8
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;