blob: 7755d96bc0b1ce8d1fb445385361d5b92df2e546 [file] [log] [blame] [edit]
# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json.
# Do not modify this file as changes will be overridden on upgrade.
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_CRATE_NAME := virtio_drivers
MODULE_SRCS := \
$(LOCAL_DIR)/src/lib.rs \
MODULE_RUST_EDITION := 2018
MODULE_RUSTFLAGS += \
--cfg 'feature="alloc"' \
--cfg 'feature="default"' \
MODULE_LIBRARY_DEPS := \
trusty/user/base/lib/liballoc-rust \
external/rust/crates/bitflags \
external/rust/crates/log \
external/rust/crates/zerocopy \
include make/library.mk