Skip to content

Commit a55a2d8

Browse files
committed
Update wasmtime, Rust, and rules_rust
Signed-off-by: Keith Mattix II <[email protected]>
1 parent adb9e42 commit a55a2d8

File tree

141 files changed

+2119
-5145
lines changed

Some content is hidden

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

141 files changed

+2119
-5145
lines changed

bazel/cargo/wasmtime/Cargo.Bazel.lock

+228-509
Large diffs are not rendered by default.

bazel/cargo/wasmtime/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "wasmtime-c-api-bazel"
4-
version = "9.0.3"
4+
version = "23.0.1"
55
rust-version = "1.66.0"
66

77
[lib]
@@ -11,5 +11,5 @@ path = "fake_lib.rs"
1111
env_logger = "0.10"
1212
anyhow = "1.0"
1313
once_cell = "1.12"
14-
wasmtime = {version = "9.0.3", default-features = false, features = ['cranelift']}
15-
wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v9.0.3"}
14+
wasmtime = {version = "23.0.1", default-features = false, features = ['cranelift']}
15+
wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v23.0.1"}

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

+26-15
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1111

1212
package(default_visibility = ["//visibility:public"])
1313

14-
# licenses([
15-
# "TODO", # MIT OR Apache-2.0
16-
# ])
17-
1814
rust_library(
1915
name = "ahash",
20-
srcs = glob(["**/*.rs"]),
16+
srcs = glob(
17+
include = ["**/*.rs"],
18+
allow_empty = False,
19+
),
2120
compile_data = glob(
2221
include = ["**"],
22+
allow_empty = True,
2323
exclude = [
2424
"**/* *",
25+
".tmp_git_root/**/*",
2526
"BUILD",
2627
"BUILD.bazel",
2728
"WORKSPACE",
@@ -30,7 +31,9 @@ rust_library(
3031
),
3132
crate_root = "src/lib.rs",
3233
edition = "2018",
33-
rustc_flags = ["--cap-lints=allow"],
34+
rustc_flags = [
35+
"--cap-lints=allow",
36+
],
3437
tags = [
3538
"cargo-bazel",
3639
"crate-name=ahash",
@@ -65,6 +68,12 @@ rust_library(
6568
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
6669
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
6770
],
71+
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
72+
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
73+
],
74+
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
75+
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
76+
],
6877
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
6978
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
7079
],
@@ -101,12 +110,6 @@ rust_library(
101110
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
102111
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
103112
],
104-
"@rules_rust//rust/platform:thumbv7em-none-eabi": [
105-
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
106-
],
107-
"@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
108-
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
109-
],
110113
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
111114
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
112115
],
@@ -134,6 +137,9 @@ rust_library(
134137
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
135138
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
136139
],
140+
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
141+
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
142+
],
137143
"@rules_rust//rust/platform:x86_64-unknown-none": [
138144
"@cu__once_cell-1.19.0//:once_cell", # cfg(not(all(target_arch = "arm", target_os = "none")))
139145
],
@@ -142,14 +148,19 @@ rust_library(
142148
)
143149

144150
cargo_build_script(
145-
name = "ahash_build_script",
146-
srcs = glob(["**/*.rs"]),
151+
name = "ahash_bs",
152+
srcs = glob(
153+
include = ["**/*.rs"],
154+
allow_empty = False,
155+
),
147156
crate_name = "build_script_build",
148157
crate_root = "build.rs",
149158
data = glob(
150159
include = ["**"],
160+
allow_empty = True,
151161
exclude = [
152162
"**/* *",
163+
".tmp_git_root/**/*",
153164
"BUILD",
154165
"BUILD.bazel",
155166
"WORKSPACE",
@@ -176,6 +187,6 @@ cargo_build_script(
176187

177188
alias(
178189
name = "build_script_build",
179-
actual = "ahash_build_script",
190+
actual = ":ahash_bs",
180191
tags = ["manual"],
181192
)

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

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1010

1111
package(default_visibility = ["//visibility:public"])
1212

13-
# licenses([
14-
# "TODO", # Unlicense OR MIT
15-
# ])
16-
1713
rust_library(
1814
name = "aho_corasick",
19-
srcs = glob(["**/*.rs"]),
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = False,
18+
),
2019
compile_data = glob(
2120
include = ["**"],
21+
allow_empty = True,
2222
exclude = [
2323
"**/* *",
24+
".tmp_git_root/**/*",
2425
"BUILD",
2526
"BUILD.bazel",
2627
"WORKSPACE",
@@ -33,7 +34,9 @@ rust_library(
3334
],
3435
crate_root = "src/lib.rs",
3536
edition = "2021",
36-
rustc_flags = ["--cap-lints=allow"],
37+
rustc_flags = [
38+
"--cap-lints=allow",
39+
],
3740
tags = [
3841
"cargo-bazel",
3942
"crate-name=aho-corasick",

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

+17-9
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1111

1212
package(default_visibility = ["//visibility:public"])
1313

14-
# licenses([
15-
# "TODO", # MIT OR Apache-2.0
16-
# ])
17-
1814
rust_library(
1915
name = "anyhow",
20-
srcs = glob(["**/*.rs"]),
16+
srcs = glob(
17+
include = ["**/*.rs"],
18+
allow_empty = False,
19+
),
2120
compile_data = glob(
2221
include = ["**"],
22+
allow_empty = True,
2323
exclude = [
2424
"**/* *",
25+
".tmp_git_root/**/*",
2526
"BUILD",
2627
"BUILD.bazel",
2728
"WORKSPACE",
@@ -34,7 +35,9 @@ rust_library(
3435
],
3536
crate_root = "src/lib.rs",
3637
edition = "2018",
37-
rustc_flags = ["--cap-lints=allow"],
38+
rustc_flags = [
39+
"--cap-lints=allow",
40+
],
3841
tags = [
3942
"cargo-bazel",
4043
"crate-name=anyhow",
@@ -49,8 +52,11 @@ rust_library(
4952
)
5053

5154
cargo_build_script(
52-
name = "anyhow_build_script",
53-
srcs = glob(["**/*.rs"]),
55+
name = "anyhow_bs",
56+
srcs = glob(
57+
include = ["**/*.rs"],
58+
allow_empty = False,
59+
),
5460
crate_features = [
5561
"default",
5662
"std",
@@ -59,8 +65,10 @@ cargo_build_script(
5965
crate_root = "build.rs",
6066
data = glob(
6167
include = ["**"],
68+
allow_empty = True,
6269
exclude = [
6370
"**/* *",
71+
".tmp_git_root/**/*",
6472
"BUILD",
6573
"BUILD.bazel",
6674
"WORKSPACE",
@@ -84,6 +92,6 @@ cargo_build_script(
8492

8593
alias(
8694
name = "build_script_build",
87-
actual = "anyhow_build_script",
95+
actual = ":anyhow_bs",
8896
tags = ["manual"],
8997
)

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

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1010

1111
package(default_visibility = ["//visibility:public"])
1212

13-
# licenses([
14-
# "TODO", # MIT OR Apache-2.0
15-
# ])
16-
1713
rust_library(
1814
name = "arbitrary",
19-
srcs = glob(["**/*.rs"]),
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = False,
18+
),
2019
compile_data = glob(
2120
include = ["**"],
21+
allow_empty = True,
2222
exclude = [
2323
"**/* *",
24+
".tmp_git_root/**/*",
2425
"BUILD",
2526
"BUILD.bazel",
2627
"WORKSPACE",
@@ -29,7 +30,9 @@ rust_library(
2930
),
3031
crate_root = "src/lib.rs",
3132
edition = "2021",
32-
rustc_flags = ["--cap-lints=allow"],
33+
rustc_flags = [
34+
"--cap-lints=allow",
35+
],
3336
tags = [
3437
"cargo-bazel",
3538
"crate-name=arbitrary",

bazel/cargo/wasmtime/remote/BUILD.bazel

+13-7
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ exports_files(
1313
"cargo-bazel.json",
1414
"crates.bzl",
1515
"defs.bzl",
16-
] + glob(["*.bazel"]),
16+
] + glob(
17+
include = ["*.bazel"],
18+
allow_empty = True,
19+
),
1720
)
1821

1922
filegroup(
2023
name = "srcs",
21-
srcs = glob([
22-
"*.bazel",
23-
"*.bzl",
24-
]),
24+
srcs = glob(
25+
include = [
26+
"*.bazel",
27+
"*.bzl",
28+
],
29+
allow_empty = True,
30+
),
2531
)
2632

2733
# Workspace Member Dependencies
@@ -45,12 +51,12 @@ alias(
4551

4652
alias(
4753
name = "wasmtime",
48-
actual = "@cu__wasmtime-9.0.4//:wasmtime",
54+
actual = "@cu__wasmtime-23.0.1//:wasmtime",
4955
tags = ["manual"],
5056
)
5157

5258
alias(
5359
name = "wasmtime-c-api-macros",
54-
actual = "@cu__wasmtime-c-api-macros-0.0.0//:wasmtime_c_api_macros",
60+
actual = "@cu__wasmtime-c-api-macros-23.0.1//:wasmtime_c_api_macros",
5561
tags = ["manual"],
5662
)

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1010

1111
package(default_visibility = ["//visibility:public"])
1212

13-
# licenses([
14-
# "TODO", # MIT OR Apache-2.0
15-
# ])
16-
1713
rust_library(
1814
name = "bitflags",
19-
srcs = glob(["**/*.rs"]),
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = False,
18+
),
2019
compile_data = glob(
2120
include = ["**"],
21+
allow_empty = True,
2222
exclude = [
2323
"**/* *",
24+
".tmp_git_root/**/*",
2425
"BUILD",
2526
"BUILD.bazel",
2627
"WORKSPACE",
2728
"WORKSPACE.bazel",
2829
],
2930
),
30-
crate_features = [
31-
"std",
32-
],
3331
crate_root = "src/lib.rs",
3432
edition = "2021",
35-
rustc_flags = ["--cap-lints=allow"],
33+
rustc_flags = [
34+
"--cap-lints=allow",
35+
],
3636
tags = [
3737
"cargo-bazel",
3838
"crate-name=bitflags",

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

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ load("@rules_rust//rust:defs.bzl", "rust_library")
1010

1111
package(default_visibility = ["//visibility:public"])
1212

13-
# licenses([
14-
# "TODO", # MIT OR Apache-2.0
15-
# ])
16-
1713
rust_library(
1814
name = "bumpalo",
19-
srcs = glob(["**/*.rs"]),
15+
srcs = glob(
16+
include = ["**/*.rs"],
17+
allow_empty = False,
18+
),
2019
compile_data = glob(
2120
include = ["**"],
21+
allow_empty = True,
2222
exclude = [
2323
"**/* *",
24+
".tmp_git_root/**/*",
2425
"BUILD",
2526
"BUILD.bazel",
2627
"WORKSPACE",
@@ -32,7 +33,9 @@ rust_library(
3233
],
3334
crate_root = "src/lib.rs",
3435
edition = "2021",
35-
rustc_flags = ["--cap-lints=allow"],
36+
rustc_flags = [
37+
"--cap-lints=allow",
38+
],
3639
tags = [
3740
"cargo-bazel",
3841
"crate-name=bumpalo",

0 commit comments

Comments
 (0)