aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-29 18:18:27 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-29 18:18:27 +0000
commit3c632310dde53a96b752ad090241ba6a548fe3aa (patch)
tree9289d364547a19859b405e852034173bf8ff3f8f
parentaace0241b7c8370b1ace6721ac6b8189e6e4cc23 (diff)
downloadchrono-3c632310dde53a96b752ad090241ba6a548fe3aa.tar.gz
Allow dead code.
This fixes the cargo build, and hence cargo2android.py. I've not added a patch under the patches directory as I expect this issue to be fixed in newer versions. Test: Ran cargo2android.py Change-Id: I885259650e5cbcba7de2c1b514753fbe7c068a25
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9d66ae3..e2608d3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -414,7 +414,6 @@
#![cfg_attr(feature = "bench", feature(test))] // lib stability features as per RFC #507
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
-#![deny(dead_code)]
// lints are added all the time, we test on 1.13
#![allow(unknown_lints)]
#![cfg_attr(not(any(feature = "std", test)), no_std)]