summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:14:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:14:08 +0000
commit4b5ba66ba814113f9c34e21ea280e538085f59c3 (patch)
treeee2602d0f5ce009d2aca75e0502683dbd4a82293
parentea6ab77c13ada414099028bc2342de161ab0cb3e (diff)
parent838483f18d84fb6d799597bc4559fbb9785d1a52 (diff)
downloadthiserror-impl-android14-qpr2-release.tar.gz
Change-Id: I4742868f8d33cc2644506604485996c8d3ee887d
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 6 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index b62d6fa..5ac3381 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 {
@@ -43,9 +43,9 @@ rust_proc_macro {
name: "libthiserror_impl",
crate_name: "thiserror_impl",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.40",
+ cargo_pkg_version: "1.0.49",
srcs: ["src/lib.rs"],
- edition: "2018",
+ edition: "2021",
rustlibs: [
"libproc_macro2",
"libquote",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bf78496..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "device": true,
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}