Skip to content

Commit bf92d38

Browse files
authored
Merge pull request #30263 from travisdowns/td-hermetic-wasmtime42
bazel/wasm: upgrade wasmtime from 32.0.0 to 42.0.2
2 parents 3e9b64e + 08fc3c5 commit bf92d38

7 files changed

Lines changed: 893 additions & 1080 deletions

File tree

.bazelrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ build --@rules_go//go/config:pure
3535
build:gofips --//bazel:gofips=True --@rules_go//go/toolchain:sdk_name=go_sdk_with_systemcrypto
3636
build:gofips --@rules_go//go/config:pure=false
3737

38+
#################
39+
# Rust settings #
40+
#################
41+
42+
# Use rules_rust's Rust-side allocator_library that defines the
43+
# mangled `__rustc::*` allocator shim symbols (rust_alloc,
44+
# rust_dealloc, etc.). The default cc_allocator_library predates the
45+
# allocator-symbol mangling in rustc 1.87+ and leaves those symbols
46+
# undefined when a Rust staticlib is linked into a cc_binary via
47+
# cc_common.link. See bazelbuild/rules_rust#3459.
48+
build --@rules_rust//rust/settings:experimental_use_allocator_libraries_with_mangled_symbols=True
49+
50+
# end of rust settings #
51+
3852
# Improve caching and readability of filepaths that the compiler uses by not using
3953
# absolute paths, and instead use paths that are relative to the redpanda repo.
4054
# https://github.com/bazel-contrib/toolchains_llvm/pull/445#issuecomment-2605443516

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ rust.toolchain(
350350
"aarch64-unknown-linux-gnu",
351351
"x86_64-unknown-linux-gnu",
352352
],
353-
versions = ["1.86.0"],
353+
versions = ["1.91.0"],
354354
)
355355
use_repo(rust, "rust_toolchains")
356356

MODULE.bazel.lock

Lines changed: 530 additions & 660 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)