aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-24 23:14:52 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-24 23:14:52 +0000
commitce1157e4601e75d5531feb72e7319685798cd4ba (patch)
tree20008dc52b60763f5753ad678dcf2805f516ff81
parentab441f68a438f1a4814be2331f463c9ef12252f1 (diff)
parent738d78f6696da049502fc4436a70ca8799e1569e (diff)
downloadzerocopy-ce1157e4601e75d5531feb72e7319685798cd4ba.tar.gz
Snap for 10998794 from 738d78f6696da049502fc4436a70ca8799e1569e to sdk-release
Change-Id: Id549af5ff2e6d326e93ffb3fc00e265d11136649
-rw-r--r--Android.bp3
-rw-r--r--BUILD1
-rw-r--r--cargo2android.json6
3 files changed, 7 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 63ead71..f2971e4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -29,6 +29,7 @@ rust_library {
features: [
"byteorder",
"derive",
+ "simd",
"zerocopy-derive",
],
rustlibs: [
@@ -54,6 +55,7 @@ rust_library_rlib {
"alloc",
"byteorder",
"derive",
+ "simd",
"zerocopy-derive",
],
rustlibs: [
@@ -85,6 +87,7 @@ rust_library_rlib {
features: [
"byteorder",
"derive",
+ "simd",
"zerocopy-derive",
],
rustlibs: [
diff --git a/BUILD b/BUILD
index 3f5286c..ea2a7b5 100644
--- a/BUILD
+++ b/BUILD
@@ -35,6 +35,7 @@ rust_library(
crate_features = [
"byteorder",
"derive",
+ "simd",
"zerocopy-derive",
],
edition = "2021",
diff --git a/cargo2android.json b/cargo2android.json
index d665005..68d4eaf 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,7 +1,7 @@
{
"device": true,
"run": true,
- "features": "derive,byteorder",
+ "features": "derive,byteorder,simd",
"variants": [
{
"tests": false
@@ -9,7 +9,7 @@
{
"alloc": true,
"dependency-suffix": "_nostd",
- "features": "alloc,derive,byteorder",
+ "features": "alloc,derive,byteorder,simd",
"force-rlib": true,
"no-host": true,
"suffix": "_nostd",
@@ -17,7 +17,7 @@
},
{
"dependency-suffix": "_nostd",
- "features": "derive,byteorder",
+ "features": "derive,byteorder,simd",
"force-rlib": true,
"no-host": true,
"suffix": "_nostd_noalloc",