|
| 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:rust.bzl", |
| 14 | + "rust_binary", |
| 15 | + "rust_library", |
| 16 | + "rust_test", |
| 17 | +) |
| 18 | + |
| 19 | +package(default_visibility = [ |
| 20 | + # Public for visibility by "@raze__crate__version//" targets. |
| 21 | + # |
| 22 | + # Prefer access through "//bazel/cargo", which limits external |
| 23 | + # visibility to explicit Cargo.toml dependencies. |
| 24 | + "//visibility:public", |
| 25 | +]) |
| 26 | + |
| 27 | +licenses([ |
| 28 | + "notice", # MIT from expression "MIT OR Apache-2.0" |
| 29 | +]) |
| 30 | + |
| 31 | +# Generated Targets |
| 32 | +# buildifier: disable=out-of-order-load |
| 33 | +# buildifier: disable=load-on-top |
| 34 | +load( |
| 35 | + "@rules_rust//cargo:cargo_build_script.bzl", |
| 36 | + "cargo_build_script", |
| 37 | +) |
| 38 | + |
| 39 | +cargo_build_script( |
| 40 | + name = "ahash_build_script", |
| 41 | + srcs = glob(["**/*.rs"]), |
| 42 | + build_script_env = { |
| 43 | + }, |
| 44 | + crate_features = [ |
| 45 | + ], |
| 46 | + crate_root = "build.rs", |
| 47 | + data = glob(["**"]), |
| 48 | + edition = "2018", |
| 49 | + rustc_flags = [ |
| 50 | + "--cap-lints=allow", |
| 51 | + ], |
| 52 | + tags = [ |
| 53 | + "cargo-raze", |
| 54 | + "manual", |
| 55 | + ], |
| 56 | + version = "0.7.2", |
| 57 | + visibility = ["//visibility:private"], |
| 58 | + deps = [ |
| 59 | + "@raze__version_check__0_9_2//:version_check", |
| 60 | + ] + selects.with_or({ |
| 61 | + # 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")) |
| 62 | + ( |
| 63 | + "@rules_rust//rust/platform:aarch64-apple-darwin", |
| 64 | + "@rules_rust//rust/platform:aarch64-apple-ios", |
| 65 | + "@rules_rust//rust/platform:aarch64-linux-android", |
| 66 | + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", |
| 67 | + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 68 | + "@rules_rust//rust/platform:i686-apple-darwin", |
| 69 | + "@rules_rust//rust/platform:i686-linux-android", |
| 70 | + "@rules_rust//rust/platform:i686-pc-windows-msvc", |
| 71 | + "@rules_rust//rust/platform:i686-unknown-freebsd", |
| 72 | + "@rules_rust//rust/platform:i686-unknown-linux-gnu", |
| 73 | + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", |
| 74 | + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", |
| 75 | + "@rules_rust//rust/platform:wasm32-wasi", |
| 76 | + "@rules_rust//rust/platform:x86_64-apple-darwin", |
| 77 | + "@rules_rust//rust/platform:x86_64-apple-ios", |
| 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 | + ): [ |
| 83 | + ], |
| 84 | + "//conditions:default": [], |
| 85 | + }) + selects.with_or({ |
| 86 | + # cfg(not(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"))) |
| 87 | + ( |
| 88 | + "@rules_rust//rust/platform:wasm32-unknown-unknown", |
| 89 | + ): [ |
| 90 | + ], |
| 91 | + "//conditions:default": [], |
| 92 | + }), |
| 93 | +) |
| 94 | + |
| 95 | +# Unsupported target "ahash" with type "bench" omitted |
| 96 | + |
| 97 | +# Unsupported target "map" with type "bench" omitted |
| 98 | + |
| 99 | +rust_library( |
| 100 | + name = "ahash", |
| 101 | + srcs = glob(["**/*.rs"]), |
| 102 | + aliases = { |
| 103 | + }, |
| 104 | + crate_features = [ |
| 105 | + ], |
| 106 | + crate_root = "src/lib.rs", |
| 107 | + crate_type = "lib", |
| 108 | + data = [], |
| 109 | + edition = "2018", |
| 110 | + rustc_flags = [ |
| 111 | + "--cap-lints=allow", |
| 112 | + ], |
| 113 | + tags = [ |
| 114 | + "cargo-raze", |
| 115 | + "manual", |
| 116 | + ], |
| 117 | + version = "0.7.2", |
| 118 | + # buildifier: leave-alone |
| 119 | + deps = [ |
| 120 | + ":ahash_build_script", |
| 121 | + ] + selects.with_or({ |
| 122 | + # 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")) |
| 123 | + ( |
| 124 | + "@rules_rust//rust/platform:aarch64-apple-darwin", |
| 125 | + "@rules_rust//rust/platform:aarch64-apple-ios", |
| 126 | + "@rules_rust//rust/platform:aarch64-linux-android", |
| 127 | + "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", |
| 128 | + "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 129 | + "@rules_rust//rust/platform:i686-apple-darwin", |
| 130 | + "@rules_rust//rust/platform:i686-linux-android", |
| 131 | + "@rules_rust//rust/platform:i686-pc-windows-msvc", |
| 132 | + "@rules_rust//rust/platform:i686-unknown-freebsd", |
| 133 | + "@rules_rust//rust/platform:i686-unknown-linux-gnu", |
| 134 | + "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", |
| 135 | + "@rules_rust//rust/platform:s390x-unknown-linux-gnu", |
| 136 | + "@rules_rust//rust/platform:wasm32-wasi", |
| 137 | + "@rules_rust//rust/platform:x86_64-apple-darwin", |
| 138 | + "@rules_rust//rust/platform:x86_64-apple-ios", |
| 139 | + "@rules_rust//rust/platform:x86_64-linux-android", |
| 140 | + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", |
| 141 | + "@rules_rust//rust/platform:x86_64-unknown-freebsd", |
| 142 | + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 143 | + ): [ |
| 144 | + "@raze__getrandom__0_2_2//:getrandom", |
| 145 | + "@raze__once_cell__1_7_2//:once_cell", |
| 146 | + ], |
| 147 | + "//conditions:default": [], |
| 148 | + }) + selects.with_or({ |
| 149 | + # cfg(not(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"))) |
| 150 | + ( |
| 151 | + "@rules_rust//rust/platform:wasm32-unknown-unknown", |
| 152 | + ): [ |
| 153 | + ], |
| 154 | + "//conditions:default": [], |
| 155 | + }), |
| 156 | +) |
| 157 | + |
| 158 | +# Unsupported target "bench" with type "test" omitted |
| 159 | + |
| 160 | +# Unsupported target "map_tests" with type "test" omitted |
| 161 | + |
| 162 | +# Unsupported target "nopanic" with type "test" omitted |
0 commit comments