diff options
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk new file mode 100644 index 0000000..7bc8377 --- /dev/null +++ b/rules.mk @@ -0,0 +1,23 @@ +# 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 := proc_macro_error +MODULE_SRCS := \ + $(LOCAL_DIR)/src/lib.rs \ + +MODULE_RUST_EDITION := 2018 +MODULE_RUSTFLAGS += \ + --cfg 'feature="default"' \ + --cfg 'feature="syn"' \ + --cfg 'feature="syn-error"' \ + --cfg 'skip_ui_tests' \ + +MODULE_LIBRARY_DEPS := \ + external/rust/crates/proc-macro-error-attr \ + external/rust/crates/proc-macro2 \ + external/rust/crates/quote \ + external/rust/crates/syn \ + +include make/library.mk |