summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Crane <cranes@google.com>2023-12-19 23:59:55 +0000
committerStephen Crane <cranes@google.com>2023-12-19 23:59:55 +0000
commit4356b4a5b8001f8a398d01852297956b1441cb36 (patch)
tree901822e2018bb43c309a8a33138c9e996bb44b7a
parentaaaa7438778c9584b7f20206c76aff2695d3fded (diff)
downloadarrayvec-4356b4a5b8001f8a398d01852297956b1441cb36.tar.gz
Add rules.mk build file for Trustysimpleperf-release
Adding arrayvec without the std or serde features, as we want to use it with no-std Rust. Bug: 314349884 Test: Add as dependency and build Change-Id: If5f27eec1f629ed762781f5b58c9507412265ce3
-rw-r--r--cargo2rulesmk.json3
-rw-r--r--rules.mk11
2 files changed, 14 insertions, 0 deletions
diff --git a/cargo2rulesmk.json b/cargo2rulesmk.json
new file mode 100644
index 0000000..7ede1b0
--- /dev/null
+++ b/cargo2rulesmk.json
@@ -0,0 +1,3 @@
+{
+ "features": ""
+}
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..f22f3a4
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,11 @@
+# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json.
+# Do not modify this file as changes will be overridden on upgrade.
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := arrayvec
+MODULE_SRCS := \
+ $(LOCAL_DIR)/src/lib.rs \
+
+MODULE_RUST_EDITION := 2018
+include make/library.mk