xref: /aosp_15_r20/external/bazelbuild-rules_rust/wasm_bindgen/3rdparty/crates/BUILD.ring-0.17.5.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1###############################################################################
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 @//wasm_bindgen/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
14rust_library(
15    name = "ring",
16    srcs = glob(
17        include = ["**/*.rs"],
18        allow_empty = True,
19    ),
20    compile_data = glob(
21        include = ["**"],
22        allow_empty = True,
23        exclude = [
24            "**/* *",
25            ".tmp_git_root/**/*",
26            "BUILD",
27            "BUILD.bazel",
28            "WORKSPACE",
29            "WORKSPACE.bazel",
30        ],
31    ),
32    crate_features = [
33        "alloc",
34        "default",
35        "dev_urandom_fallback",
36    ],
37    crate_root = "src/lib.rs",
38    edition = "2021",
39    rustc_flags = [
40        "--cap-lints=allow",
41    ],
42    tags = [
43        "cargo-bazel",
44        "crate-name=ring",
45        "manual",
46        "noclippy",
47        "norustfmt",
48    ],
49    target_compatible_with = select({
50        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
51        "@rules_rust//rust/platform:aarch64-apple-ios": [],
52        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
53        "@rules_rust//rust/platform:aarch64-fuchsia": [],
54        "@rules_rust//rust/platform:aarch64-linux-android": [],
55        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
56        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
57        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
58        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
59        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
60        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
61        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
62        "@rules_rust//rust/platform:i686-apple-darwin": [],
63        "@rules_rust//rust/platform:i686-linux-android": [],
64        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
65        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
66        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
67        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
68        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
69        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
70        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
71        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
72        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
73        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
74        "@rules_rust//rust/platform:wasm32-wasi": [],
75        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
76        "@rules_rust//rust/platform:x86_64-apple-ios": [],
77        "@rules_rust//rust/platform:x86_64-fuchsia": [],
78        "@rules_rust//rust/platform:x86_64-linux-android": [],
79        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
80        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
81        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
82        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
83        "@rules_rust//rust/platform:x86_64-unknown-none": [],
84        "//conditions:default": ["@platforms//:incompatible"],
85    }),
86    version = "0.17.5",
87    deps = [
88        "@rules_rust_wasm_bindgen__getrandom-0.2.10//:getrandom",
89        "@rules_rust_wasm_bindgen__ring-0.17.5//:build_script_build",
90        "@rules_rust_wasm_bindgen__untrusted-0.9.0//:untrusted",
91    ] + select({
92        "@rules_rust//rust/platform:aarch64-fuchsia": [
93            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
94        ],
95        "@rules_rust//rust/platform:aarch64-linux-android": [
96            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
97            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
98        ],
99        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
100            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
101            "@rules_rust_wasm_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(all(target_arch = "aarch64", target_os = "windows"))
102        ],
103        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
104            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
105            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
106        ],
107        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
108            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
109            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
110        ],
111        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
112            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
113            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
114        ],
115        "@rules_rust//rust/platform:armv7-linux-androideabi": [
116            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
117            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
118        ],
119        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
120            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
121            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
122        ],
123        "@rules_rust//rust/platform:i686-apple-darwin": [
124            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
125        ],
126        "@rules_rust//rust/platform:i686-linux-android": [
127            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
128            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
129        ],
130        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
131            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
132        ],
133        "@rules_rust//rust/platform:i686-unknown-freebsd": [
134            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
135        ],
136        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
137            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
138            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
139        ],
140        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
141            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
142        ],
143        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
144            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
145        ],
146        "@rules_rust//rust/platform:x86_64-apple-darwin": [
147            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
148        ],
149        "@rules_rust//rust/platform:x86_64-apple-ios": [
150            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
151        ],
152        "@rules_rust//rust/platform:x86_64-fuchsia": [
153            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
154        ],
155        "@rules_rust//rust/platform:x86_64-linux-android": [
156            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
157            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
158        ],
159        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
160            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
161        ],
162        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
163            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
164        ],
165        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
166            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
167            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
168        ],
169        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
170            "@rules_rust_wasm_bindgen__libc-0.2.150//:libc",  # cfg(any(target_os = "android", target_os = "linux"))
171            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
172        ],
173        "@rules_rust//rust/platform:x86_64-unknown-none": [
174            "@rules_rust_wasm_bindgen__spin-0.9.8//:spin",  # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux", target_os = "windows"))))
175        ],
176        "//conditions:default": [],
177    }),
178)
179
180cargo_build_script(
181    name = "_bs",
182    srcs = glob(
183        include = ["**/*.rs"],
184        allow_empty = True,
185    ),
186    crate_features = [
187        "alloc",
188        "default",
189        "dev_urandom_fallback",
190    ],
191    crate_name = "build_script_build",
192    crate_root = "build.rs",
193    data = glob(
194        include = ["**"],
195        allow_empty = True,
196        exclude = [
197            "**/* *",
198            ".tmp_git_root/**/*",
199            "BUILD",
200            "BUILD.bazel",
201            "WORKSPACE",
202            "WORKSPACE.bazel",
203        ],
204    ),
205    edition = "2021",
206    links = "ring_core_0_17_5",
207    pkg_name = "ring",
208    rustc_flags = [
209        "--cap-lints=allow",
210    ],
211    tags = [
212        "cargo-bazel",
213        "crate-name=ring",
214        "manual",
215        "noclippy",
216        "norustfmt",
217    ],
218    version = "0.17.5",
219    visibility = ["//visibility:private"],
220    deps = [
221        "@rules_rust_wasm_bindgen__cc-1.0.83//:cc",
222    ],
223)
224
225alias(
226    name = "build_script_build",
227    actual = ":_bs",
228    tags = ["manual"],
229)
230