blob: 34665577e3e514e679991444e55ccc04e4eef16f [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
41 name = "proc_macro2_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "default",
47 "proc-macro",
Leopold2aa8b182023-01-14 23:31:43 +010048 "span-locations",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020049 ],
50 crate_root = "build.rs",
51 data = glob(["**"]),
52 edition = "2018",
53 rustc_flags = [
54 "--cap-lints=allow",
55 ],
56 tags = [
57 "cargo-raze",
58 "manual",
59 ],
Leopold2aa8b182023-01-14 23:31:43 +010060 version = "1.0.49",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020061 visibility = ["//visibility:private"],
62 deps = [
63 ],
64)
65
66rust_library(
67 name = "proc_macro2",
68 srcs = glob(["**/*.rs"]),
69 crate_features = [
70 "default",
71 "proc-macro",
Leopold2aa8b182023-01-14 23:31:43 +010072 "span-locations",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020073 ],
74 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020075 data = [],
76 edition = "2018",
77 rustc_flags = [
78 "--cap-lints=allow",
79 ],
80 tags = [
81 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010082 "crate-name=proc-macro2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020083 "manual",
84 ],
Leopold2aa8b182023-01-14 23:31:43 +010085 version = "1.0.49",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020086 # buildifier: leave-alone
87 deps = [
88 ":proc_macro2_build_script",
Leopold2aa8b182023-01-14 23:31:43 +010089 "@raze__unicode_ident__1_0_6//:unicode_ident",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020090 ],
91)
92
93# Unsupported target "comments" with type "test" omitted
94
95# Unsupported target "features" with type "test" omitted
96
97# Unsupported target "marker" with type "test" omitted
98
99# Unsupported target "test" with type "test" omitted
100
101# Unsupported target "test_fmt" with type "test" omitted