diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-15 18:11:11 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-15 18:11:11 +0000 |
commit | 151e4694988a662111dde65a1988746dbead3cdd (patch) | |
tree | 441db0ef8e1c16d9c6bc6d0ed0760a8ea4c7a661 | |
parent | fd817f014fa18d83e873d3a65889d3089a69894a (diff) | |
parent | 903331405b5c0658fe8963abcb59bcf07bd84822 (diff) | |
download | virtio-drivers-build-tools-release.tar.gz |
Snap for 11582845 from 903331405b5c0658fe8963abcb59bcf07bd84822 to build-tools-releasebuild-tools-release
Change-Id: Ic517fe09b3425008f2235288b4532976c990b148
-rw-r--r-- | cargo2rulesmk.json | 3 | ||||
-rw-r--r-- | patches/rules.mk.diff | 12 | ||||
-rw-r--r-- | rules.mk | 3 |
3 files changed, 17 insertions, 1 deletions
diff --git a/cargo2rulesmk.json b/cargo2rulesmk.json new file mode 100644 index 0000000..5733757 --- /dev/null +++ b/cargo2rulesmk.json @@ -0,0 +1,3 @@ +{ + "patch": "patches/rules.mk.diff" +}
\ No newline at end of file diff --git a/patches/rules.mk.diff b/patches/rules.mk.diff new file mode 100644 index 0000000..17d1333 --- /dev/null +++ b/patches/rules.mk.diff @@ -0,0 +1,12 @@ +diff --git a/rules.mk b/rules.mk +index fe61b75..f43c05b 100644 +--- a/rules.mk ++++ b/rules.mk +@@ -13,6 +13,7 @@ MODULE_RUSTFLAGS += \ + --cfg 'feature="default"' \ + + MODULE_LIBRARY_DEPS := \ ++ trusty/user/base/lib/liballoc-rust \ + external/rust/crates/bitflags \ + external/rust/crates/log \ + external/rust/crates/zerocopy \ @@ -1,4 +1,4 @@ -# This file is generated by cargo2rulesmk.py --run. +# 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) @@ -13,6 +13,7 @@ MODULE_RUSTFLAGS += \ --cfg 'feature="default"' \ MODULE_LIBRARY_DEPS := \ + trusty/user/base/lib/liballoc-rust \ external/rust/crates/bitflags \ external/rust/crates/log \ external/rust/crates/zerocopy \ |