Upgrade rust/crates/serde to 1.0.125
Test: make
Change-Id: I897bf0761a7c4f09b341b7faf51f04fd97da5aa6
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
index 4f03f0b..c124dc0 100644
--- a/patches/Android.bp.patch
+++ b/patches/Android.bp.patch
@@ -2,11 +2,19 @@
index 41d67cc..277296f 100644
--- b/Android.bp
+++ a/Android.bp
-@@ -23,6 +23,6 @@ rust_library {
- "--cfg ops_bound",
- "--cfg range_inclusive",
- "--cfg std_atomic",
-- "--cfg std_atomic64",
-+ // "--cfg std_atomic64", // not for arm/arm64
+@@ -64,10 +64,14 @@
+ "range_inclusive",
+ "serde_derive",
+ "std_atomic",
+- "std_atomic64",
++ // "std_atomic64", // not for arm/arm64
+ "systemtime_checked_add",
],
+ proc_macros: ["libserde_derive"],
++ apex_available: [
++ "//apex_available:platform",
++ "com.android.virt",
++ ],
}
+
+ // dependent_library ["feature_list"]