anki/cargo/remote/BUILD.ring-0.16.20.bazel
Damien Elmes ec0ee4d162 rebuild Rust build files with cargo-raze 0.14.1
Tags are now sorted; updating this before a crate update.
2022-01-15 14:33:53 +10:00

181 lines
5.1 KiB
Plaintext
Vendored

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
# buildifier: disable=load
load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
"rust_proc_macro",
"rust_test",
)
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"restricted", # no license
])
# Generated Targets
# buildifier: disable=out-of-order-load
# buildifier: disable=load-on-top
load(
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "ring_build_script",
srcs = glob(["**/*.rs"]),
build_script_env = {
},
crate_features = [
"alloc",
"default",
"dev_urandom_fallback",
"once_cell",
],
crate_root = "build.rs",
data = glob(["**"]),
edition = "2018",
links = "ring-asm",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.16.20",
visibility = ["//visibility:private"],
deps = [
"@raze__cc__1_0_72//:cc",
] + selects.with_or({
# 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"))))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(any(target_os = "android", target_os = "linux"))
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(target_os = "windows")
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
],
"//conditions:default": [],
}),
)
rust_library(
name = "ring",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
"alloc",
"default",
"dev_urandom_fallback",
"once_cell",
],
crate_root = "src/lib.rs",
data = [],
compile_data = glob(["src/**/*.der"]),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=ring",
"manual",
],
version = "0.16.20",
# buildifier: leave-alone
deps = [
":ring_build_script",
"@raze__untrusted__0_7_1//:untrusted",
] + selects.with_or({
# 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"))))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
"@raze__spin__0_5_2//:spin",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(any(target_os = "android", target_os = "linux"))
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
): [
"@raze__libc__0_2_108//:libc",
"@raze__once_cell__1_8_0//:once_cell",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(target_os = "windows")
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@raze__winapi__0_3_9//:winapi",
],
"//conditions:default": [],
}),
)
# Unsupported target "aead_tests" with type "test" omitted
# Unsupported target "agreement_tests" with type "test" omitted
# Unsupported target "constant_time_tests" with type "test" omitted
# Unsupported target "digest_tests" with type "test" omitted
# Unsupported target "ecdsa_tests" with type "test" omitted
# Unsupported target "ed25519_tests" with type "test" omitted
# Unsupported target "hkdf_tests" with type "test" omitted
# Unsupported target "hmac_tests" with type "test" omitted
# Unsupported target "pbkdf2_tests" with type "test" omitted
# Unsupported target "quic_tests" with type "test" omitted
# Unsupported target "rand_tests" with type "test" omitted
# Unsupported target "rsa_tests" with type "test" omitted
# Unsupported target "signature_tests" with type "test" omitted