Skip to content

Commit f5e24eb

Browse files
committed
Use cargo raze 0.14.1@
Signed-off-by: river phillips <[email protected]>
1 parent 4d32eac commit f5e24eb

File tree

94 files changed

+513
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+513
-57
lines changed

bazel/cargo/wasmtime/BUILD.bazel

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,8 @@ alias(
5959

6060
# Export file for Stardoc support
6161
exports_files(
62-
glob([
63-
"**/*.bazel",
64-
"**/*.bzl",
65-
]),
66-
visibility = ["//visibility:public"],
67-
)
68-
69-
filegroup(
70-
name = "srcs",
71-
srcs = glob([
72-
"**/*.bazel",
73-
"**/*.bzl",
74-
]),
62+
[
63+
"crates.bzl",
64+
],
7565
visibility = ["//visibility:public"],
7666
)

bazel/cargo/wasmtime/remote/BUILD.addr2line-0.17.0.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ licenses([
3636
rust_library(
3737
name = "addr2line",
3838
srcs = glob(["**/*.rs"]),
39+
crate_features = [
40+
],
3941
crate_root = "src/lib.rs",
4042
data = [],
4143
edition = "2015",

bazel/cargo/wasmtime/remote/BUILD.ahash-0.7.6.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ cargo_build_script(
4242
srcs = glob(["**/*.rs"]),
4343
build_script_env = {
4444
},
45+
crate_features = [
46+
],
4547
crate_root = "build.rs",
4648
data = glob(["**"]),
4749
edition = "2018",
@@ -57,6 +59,7 @@ cargo_build_script(
5759
deps = [
5860
"@wasmtime__version_check__0_9_4//:version_check",
5961
] + 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"))
6063
(
6164
"@rules_rust//rust/platform:i686-apple-darwin",
6265
"@rules_rust//rust/platform:i686-pc-windows-msvc",
@@ -66,11 +69,9 @@ cargo_build_script(
6669
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
6770
"@rules_rust//rust/platform:aarch64-apple-darwin",
6871
"@rules_rust//rust/platform:aarch64-apple-ios",
69-
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
7072
"@rules_rust//rust/platform:aarch64-linux-android",
7173
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
7274
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
73-
"@rules_rust//rust/platform:armv7-linux-androideabi",
7475
"@rules_rust//rust/platform:i686-linux-android",
7576
"@rules_rust//rust/platform:i686-unknown-freebsd",
7677
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
@@ -83,6 +84,7 @@ cargo_build_script(
8384
],
8485
"//conditions:default": [],
8586
}) + selects.with_or({
87+
# cfg(not(all(target_arch = "arm", target_os = "none")))
8688
(
8789
"@rules_rust//rust/platform:i686-apple-darwin",
8890
"@rules_rust//rust/platform:i686-pc-windows-msvc",
@@ -92,11 +94,9 @@ cargo_build_script(
9294
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
9395
"@rules_rust//rust/platform:aarch64-apple-darwin",
9496
"@rules_rust//rust/platform:aarch64-apple-ios",
95-
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
9697
"@rules_rust//rust/platform:aarch64-linux-android",
9798
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
9899
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
99-
"@rules_rust//rust/platform:armv7-linux-androideabi",
100100
"@rules_rust//rust/platform:i686-linux-android",
101101
"@rules_rust//rust/platform:i686-unknown-freebsd",
102102
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
@@ -121,6 +121,8 @@ rust_library(
121121
srcs = glob(["**/*.rs"]),
122122
aliases = {
123123
},
124+
crate_features = [
125+
],
124126
crate_root = "src/lib.rs",
125127
data = [],
126128
edition = "2018",
@@ -137,6 +139,7 @@ rust_library(
137139
deps = [
138140
":ahash_build_script",
139141
] + selects.with_or({
142+
# 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"))
140143
(
141144
"@rules_rust//rust/platform:i686-apple-darwin",
142145
"@rules_rust//rust/platform:i686-pc-windows-msvc",
@@ -146,11 +149,9 @@ rust_library(
146149
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
147150
"@rules_rust//rust/platform:aarch64-apple-darwin",
148151
"@rules_rust//rust/platform:aarch64-apple-ios",
149-
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
150152
"@rules_rust//rust/platform:aarch64-linux-android",
151153
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
152154
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
153-
"@rules_rust//rust/platform:armv7-linux-androideabi",
154155
"@rules_rust//rust/platform:i686-linux-android",
155156
"@rules_rust//rust/platform:i686-unknown-freebsd",
156157
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
@@ -164,6 +165,7 @@ rust_library(
164165
],
165166
"//conditions:default": [],
166167
}) + selects.with_or({
168+
# cfg(not(all(target_arch = "arm", target_os = "none")))
167169
(
168170
"@rules_rust//rust/platform:i686-apple-darwin",
169171
"@rules_rust//rust/platform:i686-pc-windows-msvc",
@@ -173,11 +175,9 @@ rust_library(
173175
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
174176
"@rules_rust//rust/platform:aarch64-apple-darwin",
175177
"@rules_rust//rust/platform:aarch64-apple-ios",
176-
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
177178
"@rules_rust//rust/platform:aarch64-linux-android",
178179
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
179180
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
180-
"@rules_rust//rust/platform:armv7-linux-androideabi",
181181
"@rules_rust//rust/platform:i686-linux-android",
182182
"@rules_rust//rust/platform:i686-unknown-freebsd",
183183
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",

bazel/cargo/wasmtime/remote/BUILD.aho-corasick-0.7.19.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ licenses([
3434
rust_library(
3535
name = "aho_corasick",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
"default",
39+
"std",
40+
],
3741
crate_root = "src/lib.rs",
3842
data = [],
3943
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.65.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ cargo_build_script(
4242
srcs = glob(["**/*.rs"]),
4343
build_script_env = {
4444
},
45+
crate_features = [
46+
"default",
47+
"std",
48+
],
4549
crate_root = "build.rs",
4650
data = glob(["**"]),
4751
edition = "2018",
@@ -61,6 +65,10 @@ cargo_build_script(
6165
rust_library(
6266
name = "anyhow",
6367
srcs = glob(["**/*.rs"]),
68+
crate_features = [
69+
"default",
70+
"std",
71+
],
6472
crate_root = "src/lib.rs",
6573
data = [],
6674
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.arrayvec-0.7.2.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ licenses([
3838
rust_library(
3939
name = "arrayvec",
4040
srcs = glob(["**/*.rs"]),
41+
crate_features = [
42+
"default",
43+
"std",
44+
],
4145
crate_root = "src/lib.rs",
4246
data = [],
4347
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.atty-0.2.14.bazel

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ rust_library(
3838
srcs = glob(["**/*.rs"]),
3939
aliases = {
4040
},
41+
crate_features = [
42+
],
4143
crate_root = "src/lib.rs",
4244
data = [],
4345
edition = "2015",
@@ -53,18 +55,17 @@ rust_library(
5355
# buildifier: leave-alone
5456
deps = [
5557
] + selects.with_or({
58+
# cfg(unix)
5659
(
5760
"@rules_rust//rust/platform:i686-apple-darwin",
5861
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
5962
"@rules_rust//rust/platform:x86_64-apple-darwin",
6063
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
6164
"@rules_rust//rust/platform:aarch64-apple-darwin",
6265
"@rules_rust//rust/platform:aarch64-apple-ios",
63-
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
6466
"@rules_rust//rust/platform:aarch64-linux-android",
6567
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
6668
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
67-
"@rules_rust//rust/platform:armv7-linux-androideabi",
6869
"@rules_rust//rust/platform:i686-linux-android",
6970
"@rules_rust//rust/platform:i686-unknown-freebsd",
7071
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
@@ -77,6 +78,7 @@ rust_library(
7778
],
7879
"//conditions:default": [],
7980
}) + selects.with_or({
81+
# cfg(windows)
8082
(
8183
"@rules_rust//rust/platform:i686-pc-windows-msvc",
8284
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",

bazel/cargo/wasmtime/remote/BUILD.autocfg-1.1.0.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ licenses([
4242
rust_library(
4343
name = "autocfg",
4444
srcs = glob(["**/*.rs"]),
45+
crate_features = [
46+
],
4547
crate_root = "src/lib.rs",
4648
data = [],
4749
edition = "2015",
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +0,0 @@
1-
# Export file for Stardoc support
2-
exports_files(
3-
glob([
4-
"**/*.bazel",
5-
"**/*.bzl",
6-
]),
7-
visibility = ["//visibility:public"],
8-
)
9-
10-
filegroup(
11-
name = "srcs",
12-
srcs = glob([
13-
"**/*.bazel",
14-
"**/*.bzl",
15-
]),
16-
visibility = ["//visibility:public"],
17-
)

bazel/cargo/wasmtime/remote/BUILD.bincode-1.3.3.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ licenses([
3434
rust_library(
3535
name = "bincode",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
],
3739
crate_root = "src/lib.rs",
3840
data = [],
3941
edition = "2015",

bazel/cargo/wasmtime/remote/BUILD.bitflags-1.3.2.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ licenses([
3434
rust_library(
3535
name = "bitflags",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
"default",
39+
],
3740
crate_root = "src/lib.rs",
3841
data = [],
3942
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.bumpalo-3.11.0.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ licenses([
3636
rust_library(
3737
name = "bumpalo",
3838
srcs = glob(["**/*.rs"]),
39+
crate_features = [
40+
"default",
41+
],
3942
crate_root = "src/lib.rs",
4043
data = [],
4144
edition = "2021",

bazel/cargo/wasmtime/remote/BUILD.byteorder-1.4.3.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ licenses([
3636
rust_library(
3737
name = "byteorder",
3838
srcs = glob(["**/*.rs"]),
39+
crate_features = [
40+
"default",
41+
"std",
42+
],
3943
crate_root = "src/lib.rs",
4044
data = [],
4145
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.cc-1.0.73.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ rust_binary(
3636
# N.B.: The exact form of this is subject to change.
3737
name = "cargo_bin_gcc_shim",
3838
srcs = glob(["**/*.rs"]),
39+
crate_features = [
40+
],
3941
crate_root = "src/bin/gcc-shim.rs",
4042
data = [],
4143
edition = "2018",
@@ -57,6 +59,8 @@ rust_binary(
5759
rust_library(
5860
name = "cc",
5961
srcs = glob(["**/*.rs"]),
62+
crate_features = [
63+
],
6064
crate_root = "src/lib.rs",
6165
data = [],
6266
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.cfg-if-1.0.0.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ licenses([
3434
rust_library(
3535
name = "cfg_if",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
],
3739
crate_root = "src/lib.rs",
3840
data = [],
3941
edition = "2018",

bazel/cargo/wasmtime/remote/BUILD.cpp_demangle-0.3.5.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ cargo_build_script(
4242
srcs = glob(["**/*.rs"]),
4343
build_script_env = {
4444
},
45+
crate_features = [
46+
"default",
47+
"std",
48+
],
4549
crate_root = "build.rs",
4650
data = glob(["**"]),
4751
edition = "2015",
@@ -63,6 +67,10 @@ rust_binary(
6367
# N.B.: The exact form of this is subject to change.
6468
name = "cargo_bin_afl_runner",
6569
srcs = glob(["**/*.rs"]),
70+
crate_features = [
71+
"default",
72+
"std",
73+
],
6674
crate_root = "src/bin/afl_runner.rs",
6775
data = [],
6876
edition = "2015",
@@ -88,6 +96,10 @@ rust_binary(
8896
rust_library(
8997
name = "cpp_demangle",
9098
srcs = glob(["**/*.rs"]),
99+
crate_features = [
100+
"default",
101+
"std",
102+
],
91103
crate_root = "src/lib.rs",
92104
data = [],
93105
edition = "2015",

bazel/cargo/wasmtime/remote/BUILD.cranelift-bforest-0.88.1.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ licenses([
3434
rust_library(
3535
name = "cranelift_bforest",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
],
3739
crate_root = "src/lib.rs",
3840
data = [],
3941
edition = "2021",

bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-0.88.1.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ cargo_build_script(
4242
srcs = glob(["**/*.rs"]),
4343
build_script_env = {
4444
},
45+
crate_features = [
46+
"default",
47+
"gimli",
48+
"std",
49+
"unwind",
50+
],
4551
crate_root = "build.rs",
4652
data = glob(["**"]),
4753
edition = "2021",
@@ -65,6 +71,12 @@ cargo_build_script(
6571
rust_library(
6672
name = "cranelift_codegen",
6773
srcs = glob(["**/*.rs"]),
74+
crate_features = [
75+
"default",
76+
"gimli",
77+
"std",
78+
"unwind",
79+
],
6880
crate_root = "src/lib.rs",
6981
data = [],
7082
edition = "2021",

bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-meta-0.88.1.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ licenses([
3434
rust_library(
3535
name = "cranelift_codegen_meta",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
],
3739
crate_root = "src/lib.rs",
3840
data = [],
3941
edition = "2021",

bazel/cargo/wasmtime/remote/BUILD.cranelift-codegen-shared-0.88.1.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ licenses([
3434
rust_library(
3535
name = "cranelift_codegen_shared",
3636
srcs = glob(["**/*.rs"]),
37+
crate_features = [
38+
],
3739
crate_root = "src/lib.rs",
3840
data = [],
3941
edition = "2021",

0 commit comments

Comments
 (0)