blob: 97a43fa1e4136edc416fe2cd338300c6411ca208 [file] [log] [blame]
Brian Silverman547eda02022-05-19 23:14:08 -07001"""
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(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/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
34rust_binary(
35 # Prefix bin name to disambiguate from (probable) collision with lib name
36 # N.B.: The exact form of this is subject to change.
37 name = "cargo_bin_exit",
38 srcs = glob(["**/*.rs"]),
39 aliases = {
40 },
41 crate_features = [
42 ],
43 crate_root = "src/bin/exit.rs",
44 data = [],
45 edition = "2015",
46 rustc_flags = [
47 "--cap-lints=allow",
48 ],
49 tags = [
50 "cargo-raze",
51 "crate-name=exit",
52 "manual",
53 ],
54 version = "0.2.0",
55 # buildifier: leave-alone
56 deps = [
57 ":wait_timeout",
58 ] + selects.with_or({
59 # cfg(unix)
60 (
61 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
62 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
63 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf",
64 ): [
Brian Silvermana7ba2512022-12-19 19:13:52 -080065 "@raze__libc__0_2_138//:libc",
Brian Silverman547eda02022-05-19 23:14:08 -070066 ],
67 "//conditions:default": [],
68 }),
69)
70
71rust_binary(
72 # Prefix bin name to disambiguate from (probable) collision with lib name
73 # N.B.: The exact form of this is subject to change.
74 name = "cargo_bin_reader",
75 srcs = glob(["**/*.rs"]),
76 aliases = {
77 },
78 crate_features = [
79 ],
80 crate_root = "src/bin/reader.rs",
81 data = [],
82 edition = "2015",
83 rustc_flags = [
84 "--cap-lints=allow",
85 ],
86 tags = [
87 "cargo-raze",
88 "crate-name=reader",
89 "manual",
90 ],
91 version = "0.2.0",
92 # buildifier: leave-alone
93 deps = [
94 ":wait_timeout",
95 ] + selects.with_or({
96 # cfg(unix)
97 (
98 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
99 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
100 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf",
101 ): [
Brian Silvermana7ba2512022-12-19 19:13:52 -0800102 "@raze__libc__0_2_138//:libc",
Brian Silverman547eda02022-05-19 23:14:08 -0700103 ],
104 "//conditions:default": [],
105 }),
106)
107
108rust_binary(
109 # Prefix bin name to disambiguate from (probable) collision with lib name
110 # N.B.: The exact form of this is subject to change.
111 name = "cargo_bin_sleep",
112 srcs = glob(["**/*.rs"]),
113 aliases = {
114 },
115 crate_features = [
116 ],
117 crate_root = "src/bin/sleep.rs",
118 data = [],
119 edition = "2015",
120 rustc_flags = [
121 "--cap-lints=allow",
122 ],
123 tags = [
124 "cargo-raze",
125 "crate-name=sleep",
126 "manual",
127 ],
128 version = "0.2.0",
129 # buildifier: leave-alone
130 deps = [
131 ":wait_timeout",
132 ] + selects.with_or({
133 # cfg(unix)
134 (
135 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
136 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
137 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf",
138 ): [
Brian Silvermana7ba2512022-12-19 19:13:52 -0800139 "@raze__libc__0_2_138//:libc",
Brian Silverman547eda02022-05-19 23:14:08 -0700140 ],
141 "//conditions:default": [],
142 }),
143)
144
145rust_library(
146 name = "wait_timeout",
147 srcs = glob(["**/*.rs"]),
148 aliases = {
149 },
150 crate_features = [
151 ],
152 crate_root = "src/lib.rs",
153 data = [],
154 edition = "2015",
155 rustc_flags = [
156 "--cap-lints=allow",
157 ],
158 tags = [
159 "cargo-raze",
160 "crate-name=wait-timeout",
161 "manual",
162 ],
163 version = "0.2.0",
164 # buildifier: leave-alone
165 deps = [
166 ] + selects.with_or({
167 # cfg(unix)
168 (
169 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
170 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
171 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf",
172 ): [
Brian Silvermana7ba2512022-12-19 19:13:52 -0800173 "@raze__libc__0_2_138//:libc",
Brian Silverman547eda02022-05-19 23:14:08 -0700174 ],
175 "//conditions:default": [],
176 }),
177)
178
179# Unsupported target "smoke" with type "test" omitted