blob: 5e9932d0ad6a988592eae1994b2f15a14a1fbe5b [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 = "libc",
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_root = "src/lib.rs",
33 edition = "2015",
34 rustc_flags = ["--cap-lints=allow"],
35 tags = [
36 "cargo-bazel",
37 "crate-name=libc",
38 "manual",
39 "noclippy",
40 "norustfmt",
41 ],
42 target_compatible_with = select({
43 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
44 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
45 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
46 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
47 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
48 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
49 "@rules_rust//rust/platform:i686-apple-darwin": [],
50 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
51 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
52 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
53 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
54 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
56 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
57 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
58 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
59 "//conditions:default": ["@platforms//:incompatible"],
60 }),
61 version = "0.2.139",
62 deps = [
63 "@rules_rust_rust_analyzer__libc-0.2.139//:build_script_build",
64 ],
65)
66
67cargo_build_script(
68 name = "libc_build_script",
69 srcs = glob(["**/*.rs"]),
70 crate_name = "build_script_build",
71 crate_root = "build.rs",
72 data = glob(
73 include = ["**"],
74 exclude = [
75 "**/* *",
76 ".tmp_git_root/**/*",
77 "BUILD",
78 "BUILD.bazel",
79 "WORKSPACE",
80 "WORKSPACE.bazel",
81 ],
82 ),
83 edition = "2015",
84 rustc_flags = [
85 "--cap-lints=allow",
86 ],
87 tags = [
88 "cargo-bazel",
89 "crate-name=libc",
90 "manual",
91 "noclippy",
92 "norustfmt",
93 ],
94 version = "0.2.139",
95 visibility = ["//visibility:private"],
96)
97
98alias(
99 name = "build_script_build",
100 actual = "libc_build_script",
101 tags = ["manual"],
102)