| """ |
| @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 "//third_party/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.6", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "@raze__version_check__0_9_4//: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:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| ): [ |
| ], |
| "//conditions:default": [], |
| }) + selects.with_or({ |
| # cfg(not(all(target_arch = "arm", target_os = "none"))) |
| ( |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| ): [ |
| ], |
| "//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", |
| data = [], |
| edition = "2018", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-raze", |
| "crate-name=ahash", |
| "manual", |
| ], |
| version = "0.7.6", |
| # 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:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| ): [ |
| "@raze__getrandom__0_2_8//:getrandom", |
| ], |
| "//conditions:default": [], |
| }) + selects.with_or({ |
| # cfg(not(all(target_arch = "arm", target_os = "none"))) |
| ( |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| ): [ |
| "@raze__once_cell__1_16_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 |