Skip to content

Commit 8aea176

Browse files
committed
Upgrade wasmtime from 24.0.6 -> 42.0.1
Signed-off-by: Matt Leon <mattleon@google.com>
1 parent c72cac4 commit 8aea176

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

bazel/cargo/wasmtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[package]
1616
edition = "2021"
1717
name = "wasmtime-c-api-bazel"
18-
version = "24.0.0"
18+
version = "42.0.1"
1919
rust-version = "1.78.0"
2020

2121
[lib]
@@ -24,4 +24,4 @@ path = "fake_lib.rs"
2424
[dependencies]
2525
# Fixes testdata build error due to missing crate_features = ["std"]
2626
log = {version = "0.4.29", default-features = false, features = ['std']}
27-
wasmtime-c-api-impl = {version = "24.0.0", default-features = false, features = ['cranelift', 'wasi', 'wat']}
27+
wasmtime-c-api-impl = {version = "42.0.1", default-features = false, features = ['cranelift', 'wasi', 'wat', 'gc-drc']}

bazel/external/wasmtime.BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ features = [
7272
"cranelift",
7373
"wat",
7474
"wasi",
75+
"gc-drc",
7576
]
7677

7778
# Wasmtime C-api headers use cmakedefines to generate the config file.

bazel/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ def proxy_wasm_cpp_host_repositories():
381381
http_archive,
382382
name = "com_github_bytecodealliance_wasmtime",
383383
build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD",
384-
sha256 = "2ccb49bb3bfa4d86907ad4c80d1147aef6156c7b6e3f7f14ed02a39de9761155",
385-
strip_prefix = "wasmtime-24.0.0",
386-
url = "https://github.com/bytecodealliance/wasmtime/archive/v24.0.0.tar.gz",
384+
sha256 = "c7c2f13eeb7c513352e4e65940cb88ee69d9d1e6c92bb40a3886e71dc7c24d66",
385+
strip_prefix = "wasmtime-42.0.1",
386+
url = "https://github.com/bytecodealliance/wasmtime/archive/v42.0.1.tar.gz",
387387
# Prefix wasm_c_api functions for coexistence with other runtimes.
388388
patch_cmds = ["""
389389
find ./crates/c-api -type f -exec sed -i.bak \

0 commit comments

Comments
 (0)