aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrlando Arbildo <oarbildo@google.com>2023-11-16 20:28:00 +0000
committerOrlando Arbildo <oarbildo@google.com>2024-01-26 22:21:11 +0000
commit05f2bbcbc3d5c35e0234dbb43b0a5d515efc8ec5 (patch)
tree2a0cd3069dcfe6e29d1fd05ee9967e541ff15c7a
parente6f6c6e57f72f6b5c93f273820becae5e5878f48 (diff)
downloadvm-memory-05f2bbcbc3d5c35e0234dbb43b0a5d515efc8ec5.tar.gz
Add trusty rules.mk file
Bug: 284156656 Test: Local unittest using VolatileSlice Change-Id: Ie44e8e78eabbb03e4c8f238de33fbc70e3c617ad
-rw-r--r--rules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..4ef7d0b
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,19 @@
+# This file is generated by cargo2rulesmk.py --run.
+# Do not modify this file as changes will be overridden on upgrade.
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := vm_memory
+MODULE_SRCS := \
+ $(LOCAL_DIR)/src/lib.rs \
+
+MODULE_RUST_EDITION := 2021
+MODULE_RUSTFLAGS += \
+ --cfg 'feature="default"' \
+
+MODULE_LIBRARY_DEPS := \
+ external/rust/crates/libc \
+ external/rust/crates/thiserror \
+ external/rust/crates/winapi \
+
+include make/library.mk