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