• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json --features .
2# Do not modify this file as changes will be overridden on upgrade.
3
4LOCAL_DIR := $(GET_LOCAL_DIR)
5MODULE := $(LOCAL_DIR)
6MODULE_CRATE_NAME := serde
7MODULE_SRCS := \
8	$(LOCAL_DIR)/src/lib.rs \
9
10MODULE_RUST_EDITION := 2015
11MODULE_RUSTFLAGS += \
12	--cfg 'feature="alloc"' \
13	--cfg 'feature="default"' \
14	--cfg 'feature="derive"' \
15	--cfg 'feature="serde_derive"' \
16
17ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),true)
18
19MODULE_RUSTFLAGS += \
20	--cfg 'feature="std"' \
21
22endif
23
24MODULE_LIBRARY_DEPS := \
25	trusty/user/base/lib/liballoc-rust \
26	external/rust/crates/serde_derive \
27
28include make/library.mk
29