diff --git a/bazel/dependencies.bzl b/bazel/dependencies.bzl index b6a4cb576..49db6d7ba 100644 --- a/bazel/dependencies.bzl +++ b/bazel/dependencies.bzl @@ -39,7 +39,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.62.1", + version = "1.68.0", ) rust_repository_set( name = "rust_linux_s390x", @@ -48,7 +48,7 @@ def proxy_wasm_cpp_host_dependencies(): "wasm32-unknown-unknown", "wasm32-wasi", ], - version = "1.62.1", + version = "1.68.0", ) zig_register_toolchains( diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b56aa4c1b..faed87ae0 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -74,10 +74,10 @@ def proxy_wasm_cpp_host_repositories(): maybe( http_archive, name = "rules_rust", - sha256 = "f3d443e9ad1eca99fbcade1c649adbd8200753cf22e47846b3105a43a550273b", - strip_prefix = "rules_rust-0.8.1", + sha256 = "c8a84a01bff4be4c7a8beefbc12e713ff296fed2110c30572a44205856594cfc", + strip_prefix = "rules_rust-0.19.0", # NOTE: Update Rust version in bazel/dependencies.bzl. - url = "https://github.com/bazelbuild/rules_rust/archive/0.8.1.tar.gz", + url = "https://github.com/bazelbuild/rules_rust/archive/0.19.0.tar.gz", patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"], patch_args = ["-p1"], ) diff --git a/test/runtime_test.cc b/test/runtime_test.cc index 20f723f5f..876908515 100644 --- a/test/runtime_test.cc +++ b/test/runtime_test.cc @@ -142,7 +142,7 @@ TEST_P(TestVm, WasmMemoryLimit) { // Backtrace if (engine_ == "v8") { EXPECT_TRUE(host->isErrorLogged("Proxy-Wasm plugin in-VM backtrace:")); - EXPECT_TRUE(host->isErrorLogged(" - rust_oom")); + EXPECT_TRUE(host->isErrorLogged("rust_oom")); EXPECT_TRUE(host->isErrorLogged(" - alloc::alloc::handle_alloc_error")); } }