• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/rules.mk b/rules.mk
2index 28e6a41..893dbc6 100644
3--- a/rules.mk
4+++ b/rules.mk
5@@ -10,6 +10,12 @@ MODULE_SRCS := \
6 MODULE_RUST_EDITION := 2018
7 MODULE_RUSTFLAGS += \
8 	--cfg 'feature="default"' \
9+
10+ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),true)
11+
12+MODULE_RUSTFLAGS += \
13 	--cfg 'feature="std"' \
14
15+endif
16+
17 include make/library.mk
18