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 := proc_macro2
9MODULE_RUST_CRATE_TYPES := rlib
10MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs
11MODULE_RUST_EDITION := 2021
12MODULE_RUSTFLAGS += \
13	--cfg 'feature="default"' \
14	--cfg 'feature="proc-macro"' \
15	--cfg 'feature="span-locations"' \
16	--cfg 'proc_macro_span' \
17	--cfg 'span_locations' \
18	--cfg 'wrap_proc_macro'
19
20MODULE_LIBRARY_DEPS := \
21	$(call FIND_CRATE,unicode-ident)
22
23include make/library.mk
24