fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Daniel Wagner-HallUse env method recently added to cargo_metadata (#1813)78ca9ba0

rust-analyzer
17.0 KiB187 linesraw
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @//crate_universe/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # MIT OR Apache-2.0
16# ])
17
18rust_library(
19    name = "ahash",
20    srcs = glob(["**/*.rs"]),
21    compile_data = glob(
22        include = ["**"],
23        exclude = [
24            "**/* *",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_root = "src/lib.rs",
32    edition = "2018",
33    rustc_flags = ["--cap-lints=allow"],
34    tags = [
35        "cargo-bazel",
36        "crate-name=ahash",
37        "manual",
38        "noclippy",
39        "norustfmt",
40    ],
41    version = "0.7.6",
42    deps = [
43        "@cui__ahash-0.7.6//:build_script_build",
44    ] + select({
45        "@rules_rust//rust/platform:aarch64-apple-darwin": [
46            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
47            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
48        ],
49        "@rules_rust//rust/platform:aarch64-apple-ios": [
50            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
51            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
52        ],
53        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
54            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
55            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
56        ],
57        "@rules_rust//rust/platform:aarch64-linux-android": [
58            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
59            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
60        ],
61        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
62            "@cui__getrandom-0.2.8//:getrandom",  # 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            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
64        ],
65        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
66            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
67            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
68        ],
69        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
70            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
71            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
72        ],
73        "@rules_rust//rust/platform:armv7-linux-androideabi": [
74            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
75            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
76        ],
77        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
78            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
79            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
80        ],
81        "@rules_rust//rust/platform:i686-apple-darwin": [
82            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
83            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
84        ],
85        "@rules_rust//rust/platform:i686-linux-android": [
86            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
87            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
88        ],
89        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
90            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
91            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
92        ],
93        "@rules_rust//rust/platform:i686-unknown-freebsd": [
94            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
95            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
96        ],
97        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
98            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
99            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
100        ],
101        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
102            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
103            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
104        ],
105        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
106            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
107        ],
108        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
109            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
110        ],
111        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
112            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
113            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
114        ],
115        "@rules_rust//rust/platform:wasm32-unknown-unknown": [
116            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
117        ],
118        "@rules_rust//rust/platform:wasm32-wasi": [
119            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
120            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
121        ],
122        "@rules_rust//rust/platform:x86_64-apple-darwin": [
123            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
124            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
125        ],
126        "@rules_rust//rust/platform:x86_64-apple-ios": [
127            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
128            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
129        ],
130        "@rules_rust//rust/platform:x86_64-linux-android": [
131            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
132            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
133        ],
134        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
135            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
136            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
137        ],
138        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
139            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
140            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
141        ],
142        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
143            "@cui__getrandom-0.2.8//:getrandom",  # 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"))
144            "@cui__once_cell-1.17.0//:once_cell",  # cfg(not(all(target_arch = "arm", target_os = "none")))
145        ],
146        "//conditions:default": [],
147    }),
148)
149
150cargo_build_script(
151    name = "ahash_build_script",
152    srcs = glob(["**/*.rs"]),
153    crate_name = "build_script_build",
154    crate_root = "build.rs",
155    data = glob(
156        include = ["**"],
157        exclude = [
158            "**/* *",
159            "BUILD",
160            "BUILD.bazel",
161            "WORKSPACE",
162            "WORKSPACE.bazel",
163        ],
164    ),
165    edition = "2018",
166    rustc_flags = [
167        "--cap-lints=allow",
168    ],
169    tags = [
170        "cargo-bazel",
171        "crate-name=ahash",
172        "manual",
173        "noclippy",
174        "norustfmt",
175    ],
176    version = "0.7.6",
177    visibility = ["//visibility:private"],
178    deps = [
179        "@cui__version_check-0.9.4//:version_check",
180    ],
181)
182
183alias(
184    name = "build_script_build",
185    actual = "ahash_build_script",
186    tags = ["manual"],
187)