aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-04-01 16:11:31 -0700
committerDan Albert <danalbert@google.com>2021-04-01 16:11:31 -0700
commitcbd293e999d4eb185c9c05a7498c831d9c1cefa6 (patch)
treeeb1b6622bb33a51fd48430de7900c04e62c6a25b
parent7d8f25057b4b5adb1302771b404239ac59859c6b (diff)
downloaduntrusted-cbd293e999d4eb185c9c05a7498c831d9c1cefa6.tar.gz
Allow lint not compatible with this version.
This lint only exists in the nightly version of rustdoc and the version of this library that we have is quite old, so it's not clean for this lint. Neither are most projects, but this is the only one that forbids a lint class that includes it. Allow the lint for now. Updating the project to ToT will also fix the problem (upstream disabled *all* forbid/deny specifically to work with nightly https://github.com/briansmith/untrusted/commit/f934f697ff75c10ab3691ed591d1d93a3de3580f). Test: m rustdoc Bug: None Change-Id: If6a30981bd747906cfe10064df7c02329b269908
-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.