summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2021-05-05 09:17:06 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-05-05 09:17:06 +0000
commitf938c3002201876665b12117604ff4520aca53ce (patch)
tree0a1aec0ce8e83d88539b50769181737ed2ae0a69 /libs
parent2644034f6be9f685f1abbdf7bb375e2fbc7d2db9 (diff)
parent781592e251bc5ba15921920f9e2c0fb58febdc8e (diff)
Merge "Disable lints on generated libbinder_ndk_sys" am: 6118147743 am: a73e20aa91 am: 781592e251
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1690768 Change-Id: Ied78ebaca45fb763f2d94e511d222c272bec920e
Diffstat (limited to 'libs')
-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;