aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-01 00:11:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-01 00:11:09 +0000
commit42eee0022e0b92707e5fcb0992ab59fcaa60847f (patch)
tree844555d2d98da3e896840e5867dc56e08877ecde
parent2714a18cdb27d2e9e0ee6840e61fdc7ce7735e13 (diff)
parent894d6ced8fe0e14fd3867562e978fadec89ad94e (diff)
downloadchrono-android14-qpr2-s1-release.tar.gz
Change-Id: I1c0fdf02d44dfc3c61e6d118ea82d95eb15c5f77
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json9
-rw-r--r--cargo_embargo.json12
-rw-r--r--src/lib.rs1
4 files changed, 13 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index e7f5dbe..ef12cc4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
package {
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index cd14e87..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "device": true,
- "features": "std,clock,serde",
- "run": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..64c53eb
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,12 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "features": [
+ "std",
+ "clock",
+ "serde"
+ ],
+ "run_cargo": false
+}
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)]