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 := spin
9MODULE_RUST_CRATE_TYPES := rlib
10MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs
11MODULE_ADD_IMPLICIT_DEPS := false
12MODULE_RUST_EDITION := 2015
13MODULE_RUSTFLAGS += \
14	--cfg 'feature="mutex"' \
15	--cfg 'feature="once"' \
16	--cfg 'feature="spin_mutex"'
17
18MODULE_LIBRARY_DEPS := \
19	trusty/user/base/lib/libcompiler_builtins-rust \
20	trusty/user/base/lib/libcore-rust
21
22include make/library.mk
23