blob: a924a69600cf203913e23a6684bc373999438aea [file] [log] [blame]
Brian Silvermanc270a4d2022-07-23 16:08:06 -07001load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
2
3package(default_visibility = ["//visibility:public"])
4
5licenses([
6 "notice", # MIT from expression "MIT OR Apache-2.0"
7])
8
9rust_proc_macro(
10 name = "autocxx_macro",
11 srcs = glob(["**/*.rs"]),
12 crate_root = "src/lib.rs",
13 edition = "2021",
14 rustc_flags = [
15 "--cap-lints=allow",
16 ],
17 tags = [
18 "cargo-raze",
19 "crate-name=autocxx-macro",
20 "manual",
21 ],
22 version = "0.16.0",
23 deps = [
24 "//third_party/autocxx/parser:autocxx_parser",
25 "@//third_party/cargo:proc_macro2",
26 "@//third_party/cargo:proc_macro_error",
27 "@//third_party/cargo:quote",
28 "@//third_party/cargo:syn",
29 ],
30)