aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-04-28 02:14:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-28 02:14:32 +0000
commit8b7dc1da15297fbf9a3b775246cf98f94e496f6f (patch)
treeeb1b6622bb33a51fd48430de7900c04e62c6a25b
parentdc070ba1c84b9d492bee298bd51a86096f18ee47 (diff)
parentcd15ec95a78610ef5003fd43d9cef6007a4ef2ef (diff)
downloaduntrusted-8b7dc1da15297fbf9a3b775246cf98f94e496f6f.tar.gz
Merge "Allow lint not compatible with this version." am: 1432fccf1f am: 7b3a4124e5 am: 82305a2c8d am: cd15ec95a7
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/untrusted/+/1662921 Change-Id: I306e301744e5a8f63400bf471d8f833877d07b70
-rw-r--r--src/untrusted.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/untrusted.rs b/src/untrusted.rs
index b9f1439..a9d7f7b 100644
--- a/src/untrusted.rs
+++ b/src/untrusted.rs
@@ -100,6 +100,9 @@
variant_size_differences,
warnings
)]
+// ANDROID: This lint is included in warnings and thus forbidden, but this version of the library
+// is not compatible with it.
+#![allow(non_autolinks)]
#![no_std]
// ANDROID: Unconditionally use std to allow building as a dylib.