blob: 2247152e11c4fb4cd803c2b9a160460d3d0eb7d6 [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 = "proc_macro2",
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 "proc-macro",
35 ],
36 crate_root = "src/lib.rs",
37 edition = "2018",
38 rustc_flags = ["--cap-lints=allow"],
39 tags = [
40 "cargo-bazel",
41 "crate-name=proc-macro2",
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.49",
66 deps = [
67 "@rules_rust_rust_analyzer__proc-macro2-1.0.49//:build_script_build",
68 "@rules_rust_rust_analyzer__unicode-ident-1.0.6//:unicode_ident",
69 ],
70)
71
72cargo_build_script(
73 name = "proc-macro2_build_script",
74 srcs = glob(["**/*.rs"]),
75 crate_features = [
76 "default",
77 "proc-macro",
78 ],
79 crate_name = "build_script_build",
80 crate_root = "build.rs",
81 data = glob(
82 include = ["**"],
83 exclude = [
84 "**/* *",
85 ".tmp_git_root/**/*",
86 "BUILD",
87 "BUILD.bazel",
88 "WORKSPACE",
89 "WORKSPACE.bazel",
90 ],
91 ),
92 edition = "2018",
93 rustc_flags = [
94 "--cap-lints=allow",
95 ],
96 tags = [
97 "cargo-bazel",
98 "crate-name=proc-macro2",
99 "manual",
100 "noclippy",
101 "norustfmt",
102 ],
103 version = "1.0.49",
104 visibility = ["//visibility:private"],
105)
106
107alias(
108 name = "build_script_build",
109 actual = "proc-macro2_build_script",
110 tags = ["manual"],
111)