aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-04-28 01:11:53 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-28 01:11:53 +0000
commit82305a2c8d1fe3cdb04cb56a73fc378a321106b0 (patch)
treeeb1b6622bb33a51fd48430de7900c04e62c6a25b
parent316d8c06bba20ef88bba8dc9ca18569c5f5177f1 (diff)
parent7b3a4124e50b96b4c3abe1dfa5fab77e28b33bea (diff)
downloaduntrusted-82305a2c8d1fe3cdb04cb56a73fc378a321106b0.tar.gz
Merge "Allow lint not compatible with this version." am: 1432fccf1f am: 7b3a4124e5
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/untrusted/+/1662921 Change-Id: Icd37811bba28ee20f9eeaed290cd3dadffb93a58
-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.