Commit 08fc3c5
committed
bazel/wasm: upgrade wasmtime from 32.0.0 to 42.0.2
Additional changes required by the upgrade:
- Bump Rust toolchain from 1.86.0 to 1.91.0 (wasmtime 42 MSRV)
- Add PULLEY and ALL_ARCH feature flags to wasmtime.BUILD conf.h
template substitutions (new in wasmtime 42)
- Remove wasmtime_config_async_support_set() call: async support is
now implicit, the separate toggle was deprecated and removed from
the C API (bytecodealliance/wasmtime#12371)
- Bump rules_rust 0.60.0 -> 0.70.0 and opt in to
experimental_use_allocator_libraries_with_mangled_symbols so the
mangled __rustc::* allocator shim symbols (introduced in rustc
1.87+) are provided when a Rust staticlib is linked into a
cc_binary via cc_common.link. Without this flag the link fails
with undefined references to __rustc::__rust_alloc,
__rustc::__rust_dealloc, etc. Background:
- Issue: bazelbuild/rules_rust#3459
- Fix PR: bazelbuild/rules_rust#3403
- Landed in rules_rust 0.63.0 as an opt-in setting.
- Mirror the rustc tarball through vectorized-public to reduce
dependence on static.rust-lang.org.
- Incidental: bump bazel_skylib 1.8.1 -> 1.8.2 and rules_shell
0.4.1 -> 0.6.1 to silence direct-dependency version warnings
pulled in by the new rules_rust.1 parent cd90803 commit 08fc3c5
7 files changed
Lines changed: 893 additions & 1080 deletions
File tree
- bazel/thirdparty
- src/v/wasm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments