aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-04-28 00:54:47 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-28 00:54:47 +0000
commit7b3a4124e50b96b4c3abe1dfa5fab77e28b33bea (patch)
treeeb1b6622bb33a51fd48430de7900c04e62c6a25b
parent0bfcaa4c6e4498ec5015d6e2c7f3800a956f2004 (diff)
parent1432fccf1f2154a2008121a504f411f65ddde5af (diff)
downloaduntrusted-7b3a4124e50b96b4c3abe1dfa5fab77e28b33bea.tar.gz
Merge "Allow lint not compatible with this version." am: 1432fccf1f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/untrusted/+/1662921 Change-Id: I15b6fbb433463f0bd6b3d849562386be572f1ee0
-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.