Skip to content

Commit 85ffa8a

Browse files
committed
Update wasmtime dependency from v24.0.0 to v40.0.2
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 6196f97 commit 85ffa8a

File tree

206 files changed

+15303
-2356
lines changed

Some content is hidden

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

206 files changed

+15303
-2356
lines changed

bazel/cargo/wasmtime/Cargo.Bazel.lock

Lines changed: 1424 additions & 289 deletions
Large diffs are not rendered by default.

bazel/cargo/wasmtime/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
# limitations under the License.
1414

1515
[package]
16-
edition = "2021"
16+
edition = "2024"
1717
name = "wasmtime-c-api-bazel"
18-
version = "24.0.0"
19-
rust-version = "1.78.0"
18+
version = "40.0.2"
2019

2120
[lib]
2221
path = "fake_lib.rs"
2322

2423
[dependencies]
25-
env_logger = "0.10"
26-
anyhow = "1.0"
27-
once_cell = "1.12"
28-
log = {version = "0.4.8", default-features = false}
29-
tracing = "0.1.26"
30-
wasmtime = {version = "24.0.0", default-features = false, features = ['cranelift', 'runtime', 'gc', 'std']}
31-
wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v24.0.0"}
24+
# Fixes testdata build error due to missing crate_features = ["std"]
25+
log = {version = "0.4.29", default-features = false, features = ['std']}
26+
# IMPORTANT NOTE: prefixed linking of wasmtime requires changing the generated
27+
# file to specify `rust_static_library` instead of `rust_library`. The
28+
# following sed command will do it for you:
29+
#
30+
# `sed -i.bak -e 's/rust_library/rust_static_library/g' bazel/cargo/wasmtime/remote/BUILD.wasmtime-c-api-impl-*.bazel`
31+
wasmtime-c-api-impl = {version = "40.0.2", default-features = false, features = ['cranelift', 'wasi', 'wat', 'gc-drc']}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 @//bazel/cargo/wasmtime:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "addr2line",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_root = "src/lib.rs",
38+
edition = "2018",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
42+
rustc_flags = [
43+
"--cap-lints=allow",
44+
],
45+
tags = [
46+
"cargo-bazel",
47+
"crate-name=addr2line",
48+
"manual",
49+
"noclippy",
50+
"norustfmt",
51+
],
52+
version = "0.25.1",
53+
deps = [
54+
"@cu__gimli-0.32.3//:gimli",
55+
],
56+
)

bazel/cargo/wasmtime/remote/BUILD.zerocopy-0.7.35.bazel renamed to bazel/cargo/wasmtime/remote/BUILD.allocator-api2-0.2.21.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cargo_toml_env_vars(
1717
)
1818

1919
rust_library(
20-
name = "zerocopy",
20+
name = "allocator_api2",
2121
srcs = glob(
2222
include = ["**/*.rs"],
2323
allow_empty = True,
@@ -35,7 +35,7 @@ rust_library(
3535
],
3636
),
3737
crate_features = [
38-
"simd",
38+
"alloc",
3939
],
4040
crate_root = "src/lib.rs",
4141
edition = "2018",
@@ -47,10 +47,10 @@ rust_library(
4747
],
4848
tags = [
4949
"cargo-bazel",
50-
"crate-name=zerocopy",
50+
"crate-name=allocator-api2",
5151
"manual",
5252
"noclippy",
5353
"norustfmt",
5454
],
55-
version = "0.7.35",
55+
version = "0.2.21",
5656
)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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 @//bazel/cargo/wasmtime:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "ambient_authority",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_root = "src/lib.rs",
38+
edition = "2018",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
42+
rustc_flags = [
43+
"--cap-lints=allow",
44+
],
45+
tags = [
46+
"cargo-bazel",
47+
"crate-name=ambient-authority",
48+
"manual",
49+
"noclippy",
50+
"norustfmt",
51+
],
52+
version = "0.0.2",
53+
)
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 @//bazel/cargo/wasmtime:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
cargo_toml_env_vars(
15+
name = "cargo_toml_env_vars",
16+
src = "Cargo.toml",
17+
)
18+
19+
rust_library(
20+
name = "android_system_properties",
21+
srcs = glob(
22+
include = ["**/*.rs"],
23+
allow_empty = True,
24+
),
25+
compile_data = glob(
26+
include = ["**"],
27+
allow_empty = True,
28+
exclude = [
29+
"**/* *",
30+
".tmp_git_root/**/*",
31+
"BUILD",
32+
"BUILD.bazel",
33+
"WORKSPACE",
34+
"WORKSPACE.bazel",
35+
],
36+
),
37+
crate_root = "src/lib.rs",
38+
edition = "2018",
39+
rustc_env_files = [
40+
":cargo_toml_env_vars",
41+
],
42+
rustc_flags = [
43+
"--cap-lints=allow",
44+
],
45+
tags = [
46+
"cargo-bazel",
47+
"crate-name=android_system_properties",
48+
"manual",
49+
"noclippy",
50+
"norustfmt",
51+
],
52+
version = "0.1.5",
53+
deps = [
54+
"@cu__libc-0.2.180//:libc",
55+
],
56+
)

bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.86.bazel renamed to bazel/cargo/wasmtime/remote/BUILD.anyhow-1.0.100.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ rust_library(
5757
"noclippy",
5858
"norustfmt",
5959
],
60-
version = "1.0.86",
60+
version = "1.0.100",
6161
deps = [
62-
"@cu__anyhow-1.0.86//:build_script_build",
62+
"@cu__anyhow-1.0.100//:build_script_build",
6363
],
6464
)
6565

@@ -115,7 +115,7 @@ cargo_build_script(
115115
"noclippy",
116116
"norustfmt",
117117
],
118-
version = "1.0.86",
118+
version = "1.0.100",
119119
visibility = ["//visibility:private"],
120120
)
121121

bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.3.2.bazel renamed to bazel/cargo/wasmtime/remote/BUILD.arbitrary-1.4.2.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ rust_library(
4949
"noclippy",
5050
"norustfmt",
5151
],
52-
version = "1.3.2",
52+
version = "1.4.2",
5353
)

bazel/cargo/wasmtime/remote/BUILD.wasmtime-versioned-export-macros-24.0.0.bazel renamed to bazel/cargo/wasmtime/remote/BUILD.async-trait-0.1.89.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cargo_toml_env_vars(
1717
)
1818

1919
rust_proc_macro(
20-
name = "wasmtime_versioned_export_macros",
20+
name = "async_trait",
2121
srcs = glob(
2222
include = ["**/*.rs"],
2323
allow_empty = True,
@@ -44,15 +44,15 @@ rust_proc_macro(
4444
],
4545
tags = [
4646
"cargo-bazel",
47-
"crate-name=wasmtime-versioned-export-macros",
47+
"crate-name=async-trait",
4848
"manual",
4949
"noclippy",
5050
"norustfmt",
5151
],
52-
version = "24.0.0",
52+
version = "0.1.89",
5353
deps = [
54-
"@cu__proc-macro2-1.0.86//:proc_macro2",
55-
"@cu__quote-1.0.36//:quote",
56-
"@cu__syn-2.0.72//:syn",
54+
"@cu__proc-macro2-1.0.105//:proc_macro2",
55+
"@cu__quote-1.0.43//:quote",
56+
"@cu__syn-2.0.114//:syn",
5757
],
5858
)

bazel/cargo/wasmtime/remote/BUILD.bazel

Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -32,85 +32,25 @@ filegroup(
3232

3333
# Workspace Member Dependencies
3434
alias(
35-
name = "anyhow-1.0.86",
36-
actual = "@cu__anyhow-1.0.86//:anyhow",
37-
tags = ["manual"],
38-
)
39-
40-
alias(
41-
name = "anyhow",
42-
actual = "@cu__anyhow-1.0.86//:anyhow",
43-
tags = ["manual"],
44-
)
45-
46-
alias(
47-
name = "env_logger-0.10.2",
48-
actual = "@cu__env_logger-0.10.2//:env_logger",
49-
tags = ["manual"],
50-
)
51-
52-
alias(
53-
name = "env_logger",
54-
actual = "@cu__env_logger-0.10.2//:env_logger",
55-
tags = ["manual"],
56-
)
57-
58-
alias(
59-
name = "log-0.4.22",
60-
actual = "@cu__log-0.4.22//:log",
35+
name = "log-0.4.29",
36+
actual = "@cu__log-0.4.29//:log",
6137
tags = ["manual"],
6238
)
6339

6440
alias(
6541
name = "log",
66-
actual = "@cu__log-0.4.22//:log",
67-
tags = ["manual"],
68-
)
69-
70-
alias(
71-
name = "once_cell-1.19.0",
72-
actual = "@cu__once_cell-1.19.0//:once_cell",
73-
tags = ["manual"],
74-
)
75-
76-
alias(
77-
name = "once_cell",
78-
actual = "@cu__once_cell-1.19.0//:once_cell",
79-
tags = ["manual"],
80-
)
81-
82-
alias(
83-
name = "tracing-0.1.40",
84-
actual = "@cu__tracing-0.1.40//:tracing",
85-
tags = ["manual"],
86-
)
87-
88-
alias(
89-
name = "tracing",
90-
actual = "@cu__tracing-0.1.40//:tracing",
91-
tags = ["manual"],
92-
)
93-
94-
alias(
95-
name = "wasmtime-24.0.0",
96-
actual = "@cu__wasmtime-24.0.0//:wasmtime",
97-
tags = ["manual"],
98-
)
99-
100-
alias(
101-
name = "wasmtime",
102-
actual = "@cu__wasmtime-24.0.0//:wasmtime",
42+
actual = "@cu__log-0.4.29//:log",
10343
tags = ["manual"],
10444
)
10545

10646
alias(
107-
name = "wasmtime-c-api-macros-24.0.0",
108-
actual = "@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros",
47+
name = "wasmtime-c-api-impl-40.0.2",
48+
actual = "@cu__wasmtime-c-api-impl-40.0.2//:wasmtime_c_api",
10949
tags = ["manual"],
11050
)
11151

11252
alias(
113-
name = "wasmtime-c-api-macros",
114-
actual = "@cu__wasmtime-c-api-macros-24.0.0//:wasmtime_c_api_macros",
53+
name = "wasmtime-c-api-impl",
54+
actual = "@cu__wasmtime-c-api-impl-40.0.2//:wasmtime_c_api",
11555
tags = ["manual"],
11656
)

0 commit comments

Comments
 (0)