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