blob: 41830d08cb9a123e8e6d83c13ea147d511484c0a [file] [log] [blame]
Adam Snaider1c095c92023-07-08 02:09:58 -04001###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6# bazel run @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15# "TODO", # MIT OR Apache-2.0
16# ])
17
18rust_library(
19 name = "anyhow",
20 srcs = glob(["**/*.rs"]),
21 compile_data = glob(
22 include = ["**"],
23 exclude = [
24 "**/* *",
25 ".tmp_git_root/**/*",
26 "BUILD",
27 "BUILD.bazel",
28 "WORKSPACE",
29 "WORKSPACE.bazel",
30 ],
31 ),
32 crate_features = [
33 "default",
34 "std",
35 ],
36 crate_root = "src/lib.rs",
37 edition = "2018",
38 rustc_flags = ["--cap-lints=allow"],
39 tags = [
40 "cargo-bazel",
41 "crate-name=anyhow",
42 "manual",
43 "noclippy",
44 "norustfmt",
45 ],
46 target_compatible_with = select({
47 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
48 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
49 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
50 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
51 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
52 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
53 "@rules_rust//rust/platform:i686-apple-darwin": [],
54 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
55 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
56 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
57 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
58 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
59 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
60 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
61 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
62 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
63 "//conditions:default": ["@platforms//:incompatible"],
64 }),
65 version = "1.0.68",
66 deps = [
67 "@rules_rust_rust_analyzer__anyhow-1.0.68//:build_script_build",
68 ],
69)
70
71cargo_build_script(
72 name = "anyhow_build_script",
73 srcs = glob(["**/*.rs"]),
74 crate_features = [
75 "default",
76 "std",
77 ],
78 crate_name = "build_script_build",
79 crate_root = "build.rs",
80 data = glob(
81 include = ["**"],
82 exclude = [
83 "**/* *",
84 ".tmp_git_root/**/*",
85 "BUILD",
86 "BUILD.bazel",
87 "WORKSPACE",
88 "WORKSPACE.bazel",
89 ],
90 ),
91 edition = "2018",
92 rustc_flags = [
93 "--cap-lints=allow",
94 ],
95 tags = [
96 "cargo-bazel",
97 "crate-name=anyhow",
98 "manual",
99 "noclippy",
100 "norustfmt",
101 ],
102 version = "1.0.68",
103 visibility = ["//visibility:private"],
104)
105
106alias(
107 name = "build_script_build",
108 actual = "anyhow_build_script",
109 tags = ["manual"],
110)