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 := libc 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 'freebsd11' \ 15 --cfg 'libc_align' \ 16 --cfg 'libc_cfg_target_vendor' \ 17 --cfg 'libc_const_extern_fn' \ 18 --cfg 'libc_const_size_of' \ 19 --cfg 'libc_core_cvoid' \ 20 --cfg 'libc_int128' \ 21 --cfg 'libc_long_array' \ 22 --cfg 'libc_non_exhaustive' \ 23 --cfg 'libc_packedN' \ 24 --cfg 'libc_priv_mod_use' \ 25 --cfg 'libc_ptr_addr_of' \ 26 --cfg 'libc_underscore_const_names' \ 27 --cfg 'libc_union' \ 28 -A unknown-lints \ 29 30MODULE_LIBRARY_DEPS := \ 31 trusty/user/base/lib/libcompiler_builtins-rust \ 32 trusty/user/base/lib/libcore-rust 33 34ifeq ($(call TOBOOL,$(TRUSTY_USERSPACE)),true) 35 36MODULE_RUSTFLAGS += \ 37 --cfg 'feature="trusty_sys"' \ 38 39MODULE_LIBRARY_DEPS += \ 40 trusty/user/base/lib/libc-trusty \ 41 trusty/user/base/lib/trusty-sys \ 42 43endif 44 45include make/library.mk 46