@@ -22,6 +22,7 @@ rust_library(
22
22
include = ["**"],
23
23
exclude = [
24
24
"**/* *",
25
+ ".tmp_git_root/**/*",
25
26
"BUILD",
26
27
"BUILD.bazel",
27
28
"WORKSPACE",
@@ -30,14 +31,53 @@ rust_library(
30
31
),
31
32
crate_root = "src/lib.rs",
32
33
edition = "2018",
33
- rustc_flags = ["--cap-lints=allow"],
34
+ rustc_flags = [
35
+ "--cap-lints=allow",
36
+ ],
34
37
tags = [
35
38
"cargo-bazel",
36
39
"crate-name=ahash",
37
40
"manual",
38
41
"noclippy",
39
42
"norustfmt",
40
43
],
44
+ target_compatible_with = select({
45
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
46
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
47
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
48
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
49
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
50
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
51
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
52
+ "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
53
+ "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
54
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
55
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
56
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
57
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
58
+ "@rules_rust//rust/platform:i686-linux-android": [],
59
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
60
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
61
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
62
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
63
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
64
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
65
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
66
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
67
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
68
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
69
+ "@rules_rust//rust/platform:wasm32-wasi": [],
70
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
71
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
72
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
73
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
74
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
75
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
76
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
77
+ "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
78
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
79
+ "//conditions:default": ["@platforms//:incompatible"],
80
+ }),
41
81
version = "0.8.3",
42
82
deps = [
43
83
"@crates_vendor__ahash-0.8.3//:build_script_build",
@@ -64,6 +104,12 @@ rust_library(
64
104
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
65
105
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
66
106
],
107
+ "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
108
+ "@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
109
+ ],
110
+ "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
111
+ "@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
112
+ ],
67
113
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
68
114
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
69
115
],
@@ -100,9 +146,6 @@ rust_library(
100
146
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
101
147
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
102
148
],
103
- "@rules_rust//rust/platform:thumbv7em-none-eabi": [
104
- "@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
105
- ],
106
149
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
107
150
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
108
151
],
@@ -130,6 +173,9 @@ rust_library(
130
173
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
131
174
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
132
175
],
176
+ "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
177
+ "@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
178
+ ],
133
179
"@rules_rust//rust/platform:x86_64-unknown-none": [
134
180
"@crates_vendor__once_cell-1.18.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
135
181
],
@@ -146,6 +192,7 @@ cargo_build_script(
146
192
include = ["**"],
147
193
exclude = [
148
194
"**/* *",
195
+ ".tmp_git_root/**/*",
149
196
"BUILD",
150
197
"BUILD.bazel",
151
198
"WORKSPACE",
@@ -172,6 +219,6 @@ cargo_build_script(
172
219
173
220
alias(
174
221
name = "build_script_build",
175
- actual = "ahash_build_script",
222
+ actual = ": ahash_build_script",
176
223
tags = ["manual"],
177
224
)
0 commit comments