Add rustc_1_57 feature to tinyvec
To get const-generic implementation of the Array trait on arrays of any
length.
Test: m libtinyvec libtinyvec_nostd && atest tinyvec_test_tests_tinyvec tinyvec_test_tests_arrayvec
Change-Id: I8ae9f068df343e53ad07d6b956d4842e1056f84f
diff --git a/Android.bp b/Android.bp
index 1393a8b..57b6f2d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,6 +50,9 @@
features: [
"alloc",
"default",
+ "rustc_1_40",
+ "rustc_1_55",
+ "rustc_1_57",
"std",
"tinyvec_macros",
],
@@ -79,6 +82,9 @@
features: [
"alloc",
"default",
+ "rustc_1_40",
+ "rustc_1_55",
+ "rustc_1_57",
"std",
"tinyvec_macros",
],
@@ -107,6 +113,9 @@
features: [
"alloc",
"default",
+ "rustc_1_40",
+ "rustc_1_55",
+ "rustc_1_57",
"std",
"tinyvec_macros",
],
diff --git a/cargo_embargo.json b/cargo_embargo.json
index f7826ad..68e6dcb 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -10,7 +10,8 @@
"alloc",
"default",
"std",
- "tinyvec_macros"
+ "tinyvec_macros",
+ "rustc_1_57"
],
"tests": true
},