1# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json. 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 := byteorder 7MODULE_SRCS := \ 8 $(LOCAL_DIR)/src/lib.rs \ 9 10MODULE_RUST_EDITION := 2018 11MODULE_RUSTFLAGS += \ 12 --cfg 'feature="default"' \ 13 14ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),true) 15 16MODULE_RUSTFLAGS += \ 17 --cfg 'feature="std"' \ 18 19endif 20 21include make/library.mk 22