Commit 35327b4
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 8ca1550 commit 35327b4
7 files changed
Lines changed: 928 additions & 1167 deletions
File tree
- bazel/thirdparty
- src/v/wasm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
20 | 34 | | |
21 | 35 | | |
22 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
354 | 363 | | |
355 | 364 | | |
356 | 365 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments