1# This file is generated by cargo_embargo. 2# Do not modify this file after the LOCAL_DIR line 3# because the changes will be overridden on upgrade. 4# Content before the first line starting with LOCAL_DIR is preserved. 5 6LOCAL_DIR := $(GET_LOCAL_DIR) 7MODULE := $(LOCAL_DIR) 8MODULE_CRATE_NAME := lazy_static 9MODULE_RUST_CRATE_TYPES := rlib 10MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs 11MODULE_RUST_EDITION := 2015 12MODULE_LIBRARY_DEPS := \ 13 14ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),false) 15 16# avoid cyclic dependence by adding dependencies manually 17MODULE_ADD_IMPLICIT_DEPS := false 18 19MODULE_RUSTFLAGS += \ 20 --cfg 'feature="spin"' \ 21 --cfg 'feature="spin_no_std"' \ 22 23MODULE_DEPS := \ 24 $(call FIND_CRATE,spin) \ 25 trusty/user/base/lib/libcompiler_builtins-rust \ 26 trusty/user/base/lib/libcore-rust 27 28endif 29 30include make/library.mk 31