diff options
author | Andrei Homescu <ahomescu@google.com> | 2023-12-19 23:15:11 +0000 |
---|---|---|
committer | Andrei Homescu <ahomescu@google.com> | 2023-12-19 23:15:11 +0000 |
commit | d8e192848ba6ae4881953daef93c374465048e37 (patch) | |
tree | 3e7b2974461e5903146b23e6f172e4b22fe66afc | |
parent | 36c6ccb1c590e7fb35956090fac010b7e08dac6c (diff) | |
download | der-d8e192848ba6ae4881953daef93c374465048e37.tar.gz |
Fix rules.mk and patch
Bug: 281857510
Change-Id: I0c047495548c9e2db78c06189ab83685d11ff062
-rw-r--r-- | patches/rules.mk.diff | 4 | ||||
-rw-r--r-- | rules.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/patches/rules.mk.diff b/patches/rules.mk.diff index 3c0a6f6..58021b2 100644 --- a/patches/rules.mk.diff +++ b/patches/rules.mk.diff @@ -2,10 +2,12 @@ diff --git b/rules.mk a/rules.mk index 838754b..19beb65 100644 --- b/rules.mk +++ a/rules.mk -@@ -18,7 +18,9 @@ MODULE_RUSTFLAGS += \ +@@ -18,9 +18,9 @@ MODULE_RUSTFLAGS += \ --cfg 'feature="zeroize"' \ MODULE_LIBRARY_DEPS := \ +- external/rust/crates/arbitrary \ +- external/rust/crates/bytes \ - external/rust/crates/pem-rfc7468 \ - external/rust/crates/time \ + external/rust/crates/const-oid \ @@ -1,4 +1,4 @@ -# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json --features . +# 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) @@ -10,8 +10,6 @@ MODULE_SRCS := \ MODULE_RUST_EDITION := 2021 MODULE_RUSTFLAGS += \ --cfg 'feature="alloc"' \ - --cfg 'feature="const-oid"' \ - --cfg 'feature="der_derive"' \ --cfg 'feature="derive"' \ --cfg 'feature="flagset"' \ --cfg 'feature="oid"' \ |