blob: 10acbb5664e59822d76d36e849d0a166286035a6 [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 #
Lorenz Brund141d182023-10-02 15:07:01 +020023 # Prefer access through "//third_party/rust_efi/cargo", which limits external
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020024 # 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 = "syn_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "clone-impls",
47 "default",
48 "derive",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020049 "full",
50 "parsing",
51 "printing",
52 "proc-macro",
53 "quote",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020054 ],
55 crate_root = "build.rs",
56 data = glob(["**"]),
57 edition = "2018",
58 rustc_flags = [
59 "--cap-lints=allow",
60 ],
61 tags = [
62 "cargo-raze",
63 "manual",
64 ],
Lorenz Brund141d182023-10-02 15:07:01 +020065 version = "1.0.109",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020066 visibility = ["//visibility:private"],
67 deps = [
68 ],
69)
70
71# Unsupported target "file" with type "bench" omitted
72
73# Unsupported target "rust" with type "bench" omitted
74
75rust_library(
76 name = "syn",
77 srcs = glob(["**/*.rs"]),
78 crate_features = [
79 "clone-impls",
80 "default",
81 "derive",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020082 "full",
83 "parsing",
84 "printing",
85 "proc-macro",
86 "quote",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020087 ],
88 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020089 data = [],
90 edition = "2018",
91 rustc_flags = [
92 "--cap-lints=allow",
93 ],
94 tags = [
95 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010096 "crate-name=syn",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 "manual",
98 ],
Lorenz Brund141d182023-10-02 15:07:01 +020099 version = "1.0.109",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200100 # buildifier: leave-alone
101 deps = [
102 ":syn_build_script",
Lorenz Brund141d182023-10-02 15:07:01 +0200103 "@rsefi__proc_macro2__1_0_67//:proc_macro2",
104 "@rsefi__quote__1_0_33//:quote",
105 "@rsefi__unicode_ident__1_0_12//:unicode_ident",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200106 ],
107)
108
Leopold2aa8b182023-01-14 23:31:43 +0100109# Unsupported target "regression" with type "test" omitted
110
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200111# Unsupported target "test_asyncness" with type "test" omitted
112
113# Unsupported target "test_attribute" with type "test" omitted
114
115# Unsupported target "test_derive_input" with type "test" omitted
116
117# Unsupported target "test_expr" with type "test" omitted
118
119# Unsupported target "test_generics" with type "test" omitted
120
121# Unsupported target "test_grouping" with type "test" omitted
122
123# Unsupported target "test_ident" with type "test" omitted
124
125# Unsupported target "test_item" with type "test" omitted
126
127# Unsupported target "test_iterators" with type "test" omitted
128
129# Unsupported target "test_lit" with type "test" omitted
130
131# Unsupported target "test_meta" with type "test" omitted
132
133# Unsupported target "test_parse_buffer" with type "test" omitted
134
135# Unsupported target "test_parse_stream" with type "test" omitted
136
137# Unsupported target "test_pat" with type "test" omitted
138
139# Unsupported target "test_path" with type "test" omitted
140
141# Unsupported target "test_precedence" with type "test" omitted
142
143# Unsupported target "test_receiver" with type "test" omitted
144
145# Unsupported target "test_round_trip" with type "test" omitted
146
147# Unsupported target "test_shebang" with type "test" omitted
148
149# Unsupported target "test_should_parse" with type "test" omitted
150
151# Unsupported target "test_size" with type "test" omitted
152
153# Unsupported target "test_stmt" with type "test" omitted
154
155# Unsupported target "test_token_trees" with type "test" omitted
156
157# Unsupported target "test_ty" with type "test" omitted
158
159# Unsupported target "test_visibility" with type "test" omitted
160
161# Unsupported target "zzz_stable" with type "test" omitted