1diff --git a/rules.mk b/rules.mk 2index 442c6fc..6c64bf9 100644 3--- a/rules.mk 4+++ b/rules.mk 5@@ -13,9 +13,16 @@ MODULE_RUSTFLAGS += \ 6 --cfg 'feature="default"' \ 7 --cfg 'feature="derive"' \ 8 --cfg 'feature="serde_derive"' \ 9+ 10+ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),true) 11+ 12+MODULE_RUSTFLAGS += \ 13 --cfg 'feature="std"' \ 14 15+endif 16+ 17 MODULE_LIBRARY_DEPS := \ 18+ trusty/user/base/lib/liballoc-rust \ 19 external/rust/crates/serde_derive \ 20 21 include make/library.mk 22