blob: 9b9cc0c75fecf98de55a8ff9d878d5f3ee80765c [file] [log] [blame]
# This file is generated by cargo_embargo.
# Do not modify this file after the LOCAL_DIR line
# because the changes will be overridden on upgrade.
# Content before the first line starting with LOCAL_DIR is preserved.
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_CRATE_NAME := zeroize
MODULE_RUST_CRATE_TYPES := rlib
MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs
MODULE_ADD_IMPLICIT_DEPS := false
MODULE_RUST_EDITION := 2021
MODULE_RUSTFLAGS += \
--cfg 'feature="alloc"' \
--cfg 'feature="zeroize_derive"'
MODULE_LIBRARY_DEPS := \
$(call FIND_CRATE,zeroize_derive) \
trusty/user/base/lib/liballoc-rust \
trusty/user/base/lib/libcompiler_builtins-rust \
trusty/user/base/lib/libcore-rust
include make/library.mk