fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreUpdate wasm_bindgen to use crate universe. (#1398)97264b79

0.7.0
11.0 KiB364 linesraw
1###############################################################################
2# @generated
3# This file is auto-generated by the cargo-bazel tool.
4#
5# DO NOT MODIFY: Local changes may be replaced in future executions.
6###############################################################################
7
8load(
9    "@bazel_skylib//lib:selects.bzl",
10    "selects",
11)
12
13# buildifier: disable=bzl-visibility
14load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
15load(
16    "@rules_rust//rust:defs.bzl",
17    "rust_binary",
18    "rust_library",
19)
20
21package(default_visibility = ["//visibility:public"])
22
23# licenses([
24#     "TODO",  # MIT/Apache-2.0
25# ])
26
27rust_library(
28    name = "wait_timeout",
29    srcs = glob(
30        include = [
31            "**/*.rs",
32        ],
33        exclude = [
34        ],
35    ),
36    aliases = selects.with_or({
37        "//conditions:default": {
38        },
39    }),
40    compile_data = glob(["**"]) + select_with_or({
41        "//conditions:default": [
42        ],
43    }),
44    crate_features = [
45    ],
46    crate_root = "src/lib.rs",
47    data = select_with_or({
48        "//conditions:default": [
49        ],
50    }),
51    edition = "2015",
52    proc_macro_deps = [
53    ] + select_with_or({
54        "//conditions:default": [
55        ],
56    }),
57    rustc_env = {
58    },
59    rustc_env_files = select_with_or({
60        "//conditions:default": [
61        ],
62    }),
63    rustc_flags = [
64        # In most cases, warnings in 3rd party crates are not interesting as
65        # they're out of the control of consumers. The flag here silences
66        # warnings. For more details see:
67        # https://doc.rust-lang.org/rustc/lints/levels.html
68        "--cap-lints=allow",
69    ],
70    tags = [
71        "cargo-bazel",
72        "manual",
73        "noclippy",
74        "norustfmt",
75    ],
76    version = "0.2.0",
77    deps = [
78    ] + select_with_or({
79        # cfg(unix)
80        (
81            "@rules_rust//rust/platform:aarch64-apple-darwin",
82            "@rules_rust//rust/platform:aarch64-apple-ios",
83            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
84            "@rules_rust//rust/platform:aarch64-linux-android",
85            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
86            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
87            "@rules_rust//rust/platform:armv7-linux-androideabi",
88            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
89            "@rules_rust//rust/platform:i686-apple-darwin",
90            "@rules_rust//rust/platform:i686-linux-android",
91            "@rules_rust//rust/platform:i686-unknown-freebsd",
92            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
93            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
94            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
95            "@rules_rust//rust/platform:x86_64-apple-darwin",
96            "@rules_rust//rust/platform:x86_64-apple-ios",
97            "@rules_rust//rust/platform:x86_64-linux-android",
98            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
99            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
100        ): [
101            # Target Deps
102            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
103
104            # Common Deps
105        ],
106        "//conditions:default": [
107        ],
108    }),
109)
110
111rust_binary(
112    name = "exit__bin",
113    srcs = glob(
114        include = [
115            "**/*.rs",
116        ],
117        exclude = [
118        ],
119    ),
120    aliases = selects.with_or({
121        "//conditions:default": {
122        },
123    }),
124    compile_data = glob(["**"]) + select_with_or({
125        "//conditions:default": [
126        ],
127    }),
128    crate_features = [
129    ],
130    crate_root = "src/bin/exit.rs",
131    data = select_with_or({
132        "//conditions:default": [
133        ],
134    }),
135    edition = "2015",
136    proc_macro_deps = [
137    ] + select_with_or({
138        "//conditions:default": [
139        ],
140    }),
141    rustc_env = {
142    },
143    rustc_env_files = select_with_or({
144        "//conditions:default": [
145        ],
146    }),
147    rustc_flags = [
148        # In most cases, warnings in 3rd party crates are not interesting as
149        # they're out of the control of consumers. The flag here silences
150        # warnings. For more details see:
151        # https://doc.rust-lang.org/rustc/lints/levels.html
152        "--cap-lints=allow",
153    ],
154    tags = [
155        "cargo-bazel",
156        "manual",
157        "noclippy",
158        "norustfmt",
159    ],
160    version = "0.2.0",
161    deps = [
162        ":wait_timeout",
163    ] + select_with_or({
164        # cfg(unix)
165        (
166            "@rules_rust//rust/platform:aarch64-apple-darwin",
167            "@rules_rust//rust/platform:aarch64-apple-ios",
168            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
169            "@rules_rust//rust/platform:aarch64-linux-android",
170            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
171            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
172            "@rules_rust//rust/platform:armv7-linux-androideabi",
173            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
174            "@rules_rust//rust/platform:i686-apple-darwin",
175            "@rules_rust//rust/platform:i686-linux-android",
176            "@rules_rust//rust/platform:i686-unknown-freebsd",
177            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
178            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
179            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
180            "@rules_rust//rust/platform:x86_64-apple-darwin",
181            "@rules_rust//rust/platform:x86_64-apple-ios",
182            "@rules_rust//rust/platform:x86_64-linux-android",
183            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
184            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
185        ): [
186            # Target Deps
187            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
188
189            # Common Deps
190        ],
191        "//conditions:default": [
192        ],
193    }),
194)
195
196rust_binary(
197    name = "sleep__bin",
198    srcs = glob(
199        include = [
200            "**/*.rs",
201        ],
202        exclude = [
203        ],
204    ),
205    aliases = selects.with_or({
206        "//conditions:default": {
207        },
208    }),
209    compile_data = glob(["**"]) + select_with_or({
210        "//conditions:default": [
211        ],
212    }),
213    crate_features = [
214    ],
215    crate_root = "src/bin/sleep.rs",
216    data = select_with_or({
217        "//conditions:default": [
218        ],
219    }),
220    edition = "2015",
221    proc_macro_deps = [
222    ] + select_with_or({
223        "//conditions:default": [
224        ],
225    }),
226    rustc_env = {
227    },
228    rustc_env_files = select_with_or({
229        "//conditions:default": [
230        ],
231    }),
232    rustc_flags = [
233        # In most cases, warnings in 3rd party crates are not interesting as
234        # they're out of the control of consumers. The flag here silences
235        # warnings. For more details see:
236        # https://doc.rust-lang.org/rustc/lints/levels.html
237        "--cap-lints=allow",
238    ],
239    tags = [
240        "cargo-bazel",
241        "manual",
242        "noclippy",
243        "norustfmt",
244    ],
245    version = "0.2.0",
246    deps = [
247        ":wait_timeout",
248    ] + select_with_or({
249        # cfg(unix)
250        (
251            "@rules_rust//rust/platform:aarch64-apple-darwin",
252            "@rules_rust//rust/platform:aarch64-apple-ios",
253            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
254            "@rules_rust//rust/platform:aarch64-linux-android",
255            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
256            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
257            "@rules_rust//rust/platform:armv7-linux-androideabi",
258            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
259            "@rules_rust//rust/platform:i686-apple-darwin",
260            "@rules_rust//rust/platform:i686-linux-android",
261            "@rules_rust//rust/platform:i686-unknown-freebsd",
262            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
263            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
264            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
265            "@rules_rust//rust/platform:x86_64-apple-darwin",
266            "@rules_rust//rust/platform:x86_64-apple-ios",
267            "@rules_rust//rust/platform:x86_64-linux-android",
268            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
269            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
270        ): [
271            # Target Deps
272            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
273
274            # Common Deps
275        ],
276        "//conditions:default": [
277        ],
278    }),
279)
280
281rust_binary(
282    name = "reader__bin",
283    srcs = glob(
284        include = [
285            "**/*.rs",
286        ],
287        exclude = [
288        ],
289    ),
290    aliases = selects.with_or({
291        "//conditions:default": {
292        },
293    }),
294    compile_data = glob(["**"]) + select_with_or({
295        "//conditions:default": [
296        ],
297    }),
298    crate_features = [
299    ],
300    crate_root = "src/bin/reader.rs",
301    data = select_with_or({
302        "//conditions:default": [
303        ],
304    }),
305    edition = "2015",
306    proc_macro_deps = [
307    ] + select_with_or({
308        "//conditions:default": [
309        ],
310    }),
311    rustc_env = {
312    },
313    rustc_env_files = select_with_or({
314        "//conditions:default": [
315        ],
316    }),
317    rustc_flags = [
318        # In most cases, warnings in 3rd party crates are not interesting as
319        # they're out of the control of consumers. The flag here silences
320        # warnings. For more details see:
321        # https://doc.rust-lang.org/rustc/lints/levels.html
322        "--cap-lints=allow",
323    ],
324    tags = [
325        "cargo-bazel",
326        "manual",
327        "noclippy",
328        "norustfmt",
329    ],
330    version = "0.2.0",
331    deps = [
332        ":wait_timeout",
333    ] + select_with_or({
334        # cfg(unix)
335        (
336            "@rules_rust//rust/platform:aarch64-apple-darwin",
337            "@rules_rust//rust/platform:aarch64-apple-ios",
338            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
339            "@rules_rust//rust/platform:aarch64-linux-android",
340            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
341            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
342            "@rules_rust//rust/platform:armv7-linux-androideabi",
343            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
344            "@rules_rust//rust/platform:i686-apple-darwin",
345            "@rules_rust//rust/platform:i686-linux-android",
346            "@rules_rust//rust/platform:i686-unknown-freebsd",
347            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
348            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
349            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
350            "@rules_rust//rust/platform:x86_64-apple-darwin",
351            "@rules_rust//rust/platform:x86_64-apple-ios",
352            "@rules_rust//rust/platform:x86_64-linux-android",
353            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
354            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
355        ): [
356            # Target Deps
357            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
358
359            # Common Deps
360        ],
361        "//conditions:default": [
362        ],
363    }),
364)