summaryrefslogtreecommitdiff
path: root/libs/binder/trusty/rust/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/trusty/rust/rules.mk')
-rw-r--r--libs/binder/trusty/rust/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/trusty/rust/rules.mk b/libs/binder/trusty/rust/rules.mk
index d343f14240..36bd3a2e75 100644
--- a/libs/binder/trusty/rust/rules.mk
+++ b/libs/binder/trusty/rust/rules.mk
@@ -28,10 +28,12 @@ MODULE_LIBRARY_DEPS += \
$(LIBBINDER_DIR)/trusty/rust/binder_ndk_sys \
$(LIBBINDER_DIR)/trusty/rust/binder_rpc_unstable_bindgen \
external/rust/crates/downcast-rs \
+ external/rust/crates/libc \
trusty/user/base/lib/trusty-sys \
MODULE_RUSTFLAGS += \
--cfg 'android_vendor' \
+ --cfg 'trusty' \
# Trusty does not have `ProcessState`, so there are a few
# doc links in `IBinder` that are still broken.