blob: 41be6890063663efc3fd1b72eba42941073c3d8c [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(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "anyhow_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "default",
46 "std",
47 ],
48 crate_root = "build.rs",
49 data = glob(["**"]),
50 edition = "2018",
51 rustc_flags = [
52 "--cap-lints=allow",
53 ],
54 tags = [
55 "cargo-raze",
56 "manual",
57 ],
58 version = "1.0.41",
59 visibility = ["//visibility:private"],
60 deps = [
61 ],
62)
63
64rust_library(
65 name = "anyhow",
66 srcs = glob(["**/*.rs"]),
67 crate_features = [
68 "default",
69 "std",
70 ],
71 crate_root = "src/lib.rs",
72 crate_type = "lib",
73 data = [],
74 edition = "2018",
75 rustc_flags = [
76 "--cap-lints=allow",
77 ],
78 tags = [
79 "cargo-raze",
80 "manual",
81 ],
82 version = "1.0.41",
83 # buildifier: leave-alone
84 deps = [
85 ":anyhow_build_script",
86 ],
87)
88
89# Unsupported target "compiletest" with type "test" omitted
90
91# Unsupported target "test_autotrait" with type "test" omitted
92
93# Unsupported target "test_backtrace" with type "test" omitted
94
95# Unsupported target "test_boxed" with type "test" omitted
96
97# Unsupported target "test_chain" with type "test" omitted
98
99# Unsupported target "test_context" with type "test" omitted
100
101# Unsupported target "test_convert" with type "test" omitted
102
103# Unsupported target "test_downcast" with type "test" omitted
104
105# Unsupported target "test_ffi" with type "test" omitted
106
107# Unsupported target "test_fmt" with type "test" omitted
108
109# Unsupported target "test_macros" with type "test" omitted
110
111# Unsupported target "test_repr" with type "test" omitted
112
113# Unsupported target "test_source" with type "test" omitted