123 lines
3.8 KiB
Plaintext
123 lines
3.8 KiB
Plaintext
|
"""
|
||
|
@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:rust.bzl",
|
||
|
"rust_binary",
|
||
|
"rust_library",
|
||
|
"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([
|
||
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
||
|
])
|
||
|
|
||
|
# 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 = "ahash_build_script",
|
||
|
srcs = glob(["**/*.rs"]),
|
||
|
build_script_env = {
|
||
|
},
|
||
|
crate_features = [
|
||
|
],
|
||
|
crate_root = "build.rs",
|
||
|
data = glob(["**"]),
|
||
|
edition = "2018",
|
||
|
rustc_flags = [
|
||
|
"--cap-lints=allow",
|
||
|
],
|
||
|
tags = [
|
||
|
"cargo-raze",
|
||
|
"manual",
|
||
|
],
|
||
|
version = "0.7.4",
|
||
|
visibility = ["//visibility:private"],
|
||
|
deps = [
|
||
|
"@raze__version_check__0_9_3//:version_check",
|
||
|
] + selects.with_or({
|
||
|
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
|
||
|
(
|
||
|
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||
|
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||
|
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||
|
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||
|
): [
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|
||
|
|
||
|
# Unsupported target "ahash" with type "bench" omitted
|
||
|
|
||
|
# Unsupported target "map" with type "bench" omitted
|
||
|
|
||
|
rust_library(
|
||
|
name = "ahash",
|
||
|
srcs = glob(["**/*.rs"]),
|
||
|
aliases = {
|
||
|
},
|
||
|
crate_features = [
|
||
|
],
|
||
|
crate_root = "src/lib.rs",
|
||
|
crate_type = "lib",
|
||
|
data = [],
|
||
|
edition = "2018",
|
||
|
rustc_flags = [
|
||
|
"--cap-lints=allow",
|
||
|
],
|
||
|
tags = [
|
||
|
"cargo-raze",
|
||
|
"manual",
|
||
|
],
|
||
|
version = "0.7.4",
|
||
|
# buildifier: leave-alone
|
||
|
deps = [
|
||
|
":ahash_build_script",
|
||
|
] + selects.with_or({
|
||
|
# cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
|
||
|
(
|
||
|
"@rules_rust//rust/platform:aarch64-apple-ios",
|
||
|
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||
|
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
||
|
"@rules_rust//rust/platform:x86_64-apple-ios",
|
||
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||
|
): [
|
||
|
"@raze__getrandom__0_2_3//:getrandom",
|
||
|
"@raze__once_cell__1_8_0//:once_cell",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|
||
|
|
||
|
# Unsupported target "bench" with type "test" omitted
|
||
|
|
||
|
# Unsupported target "map_tests" with type "test" omitted
|
||
|
|
||
|
# Unsupported target "nopanic" with type "test" omitted
|