Skip to content

Commit 053920c

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

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
@@ -14,7 +14,7 @@
1414

1515
[package]
1616
name = "wasmtime-c-api-bazel"
17-
version = "24.0.0"
17+
version = "42.0.1"
1818
edition = "2021"
1919
rust-version = "1.78.0"
2020

@@ -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", features = ['cranelift']}
27+
wasmtime-c-api-impl = {version = "42.0.1", default-features = false, features = ['cranelift', 'gc-drc']}

bazel/external/wasmtime.BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ genrule(
6161
# the C/C++ API to expose the right set of methods.
6262
features = [
6363
"cranelift",
64+
"gc-drc",
6465
]
6566

6667
# 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
@@ -379,9 +379,9 @@ def proxy_wasm_cpp_host_repositories():
379379
http_archive,
380380
name = "com_github_bytecodealliance_wasmtime",
381381
build_file = "@proxy_wasm_cpp_host//bazel/external:wasmtime.BUILD",
382-
sha256 = "2ccb49bb3bfa4d86907ad4c80d1147aef6156c7b6e3f7f14ed02a39de9761155",
383-
strip_prefix = "wasmtime-24.0.0",
384-
url = "https://github.com/bytecodealliance/wasmtime/archive/v24.0.0.tar.gz",
382+
sha256 = "c7c2f13eeb7c513352e4e65940cb88ee69d9d1e6c92bb40a3886e71dc7c24d66",
383+
strip_prefix = "wasmtime-42.0.1",
384+
url = "https://github.com/bytecodealliance/wasmtime/archive/v42.0.1.tar.gz",
385385
# Prefix wasm_c_api functions for coexistence with other runtimes.
386386
patch_cmds = ["""
387387
find ./crates/c-api -type f -exec sed -i.bak \

0 commit comments

Comments
 (0)