blob: 63092b8cab6f441acd9a31901c9a28eee63b0cff [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# 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 = "trybuild_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 ],
47 crate_root = "build.rs",
48 data = glob(["**"]),
49 edition = "2018",
50 rustc_flags = [
51 "--cap-lints=allow",
52 ],
53 tags = [
54 "cargo-raze",
55 "manual",
56 ],
57 version = "1.0.61",
58 visibility = ["//visibility:private"],
59 deps = [
60 ],
61)
62
63rust_library(
64 name = "trybuild",
65 srcs = glob(["**/*.rs"]),
66 crate_features = [
67 ],
68 crate_root = "src/lib.rs",
69 data = [],
70 edition = "2018",
71 proc_macro_deps = [
72 "@raze__serde_derive__1_0_137//:serde_derive",
73 ],
74 rustc_flags = [
75 "--cap-lints=allow",
76 ],
77 tags = [
78 "cargo-raze",
79 "crate-name=trybuild",
80 "manual",
81 ],
82 version = "1.0.61",
83 # buildifier: leave-alone
84 deps = [
85 ":trybuild_build_script",
86 "@raze__glob__0_3_0//:glob",
87 "@raze__once_cell__1_10_0//:once_cell",
88 "@raze__serde__1_0_137//:serde",
89 "@raze__serde_json__1_0_81//:serde_json",
90 "@raze__termcolor__1_1_3//:termcolor",
91 "@raze__toml__0_5_9//:toml",
92 ],
93)
94
95# Unsupported target "test" with type "test" omitted