Skip to content

Commit df8f993

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 df8f993

File tree

213 files changed

+15472
-2371
lines changed

Some content is hidden

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

213 files changed

+15472
-2371
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Format (rules_rust)
103103
run: |
104104
bazel run //bazel/cargo/wasmsign:crates_vendor
105-
bazel run //bazel/cargo/wasmtime:crates_vendor
105+
./bazel/cargo/wasmtime/vendor_and_patch.sh
106106
git diff --exit-code
107107
108108
clang_format:

BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ cc_library(
280280
}),
281281
deps = [
282282
":wasm_vm_headers",
283-
"@com_github_bytecodealliance_wasmtime//:prefixed_wasmtime_lib",
283+
"@com_github_bytecodealliance_wasmtime//:wasmtime_lib",
284284
],
285285
)
286286

bazel/cargo/wasmtime/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ exports_files(
2222
)
2323

2424
# Run this target to regenerate cargo_lockfile and vendor_path/*.
25-
# $ bazelisk run bazel/cargo/wasmtime:crates_vendor -- --repin
25+
# IMPORTANT: After running this, you must patch the BUILD.wasmtime-c-api-impl file
26+
# to use rust_static_library instead of rust_library. Use vendor_and_patch.sh:
27+
#
28+
# $ ./bazel/cargo/wasmtime/vendor_and_patch.sh --repin
29+
#
30+
# Or run crates_vendor manually and then apply the sed command documented in Cargo.toml
2631
crates_vendor(
2732
name = "crates_vendor",
2833
cargo_lockfile = ":Cargo.Bazel.lock",

0 commit comments

Comments
 (0)