Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:defs.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_proc_macro", |
| 17 | "rust_test", |
| 18 | ) |
| 19 | |
| 20 | package(default_visibility = [ |
| 21 | # Public for visibility by "@raze__crate__version//" targets. |
| 22 | # |
| 23 | # Prefer access through "//third_party/cargo", which limits external |
| 24 | # visibility to explicit Cargo.toml dependencies. |
| 25 | "//visibility:public", |
| 26 | ]) |
| 27 | |
| 28 | licenses([ |
| 29 | "notice", # MIT from expression "MIT OR Apache-2.0" |
| 30 | ]) |
| 31 | |
| 32 | # Generated Targets |
| 33 | # buildifier: disable=out-of-order-load |
| 34 | # buildifier: disable=load-on-top |
| 35 | load( |
| 36 | "@rules_rust//cargo:cargo_build_script.bzl", |
| 37 | "cargo_build_script", |
| 38 | ) |
| 39 | |
| 40 | cargo_build_script( |
| 41 | name = "ahash_build_script", |
| 42 | srcs = glob(["**/*.rs"]), |
| 43 | build_script_env = { |
| 44 | }, |
| 45 | crate_features = [ |
| 46 | ], |
| 47 | crate_root = "build.rs", |
| 48 | data = glob(["**"]), |
| 49 | edition = "2018", |
| 50 | rustc_flags = [ |
| 51 | "--cap-lints=allow", |
| 52 | ], |
| 53 | tags = [ |
| 54 | "cargo-raze", |
| 55 | "manual", |
| 56 | ], |
| 57 | version = "0.7.6", |
| 58 | visibility = ["//visibility:private"], |
| 59 | deps = [ |
| 60 | "@raze__version_check__0_9_4//:version_check", |
| 61 | ] + selects.with_or({ |
| 62 | # 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")) |
| 63 | ( |
| 64 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 65 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 66 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 67 | ): [ |
| 68 | ], |
| 69 | "//conditions:default": [], |
| 70 | }) + selects.with_or({ |
| 71 | # cfg(not(all(target_arch = "arm", target_os = "none"))) |
| 72 | ( |
| 73 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 74 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 75 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 76 | ): [ |
| 77 | ], |
| 78 | "//conditions:default": [], |
| 79 | }), |
| 80 | ) |
| 81 | |
| 82 | # Unsupported target "ahash" with type "bench" omitted |
| 83 | |
| 84 | # Unsupported target "map" with type "bench" omitted |
| 85 | |
| 86 | rust_library( |
| 87 | name = "ahash", |
| 88 | srcs = glob(["**/*.rs"]), |
| 89 | aliases = { |
| 90 | }, |
| 91 | crate_features = [ |
| 92 | ], |
| 93 | crate_root = "src/lib.rs", |
| 94 | data = [], |
| 95 | edition = "2018", |
| 96 | rustc_flags = [ |
| 97 | "--cap-lints=allow", |
| 98 | ], |
| 99 | tags = [ |
| 100 | "cargo-raze", |
| 101 | "crate-name=ahash", |
| 102 | "manual", |
| 103 | ], |
| 104 | version = "0.7.6", |
| 105 | # buildifier: leave-alone |
| 106 | deps = [ |
| 107 | ":ahash_build_script", |
| 108 | ] + selects.with_or({ |
| 109 | # 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")) |
| 110 | ( |
| 111 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 112 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 113 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 114 | ): [ |
| 115 | "@raze__getrandom__0_2_8//:getrandom", |
| 116 | ], |
| 117 | "//conditions:default": [], |
| 118 | }) + selects.with_or({ |
| 119 | # cfg(not(all(target_arch = "arm", target_os = "none"))) |
| 120 | ( |
| 121 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 122 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 123 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 124 | ): [ |
| 125 | "@raze__once_cell__1_16_0//:once_cell", |
| 126 | ], |
| 127 | "//conditions:default": [], |
| 128 | }), |
| 129 | ) |
| 130 | |
| 131 | # Unsupported target "bench" with type "test" omitted |
| 132 | |
| 133 | # Unsupported target "map_tests" with type "test" omitted |
| 134 | |
| 135 | # Unsupported target "nopanic" with type "test" omitted |