Skip to content

Commit 2cf44d8

Browse files
authored
Fix witty export of functions with 16 parameters second attempt (#2530)
* Refactor to use `HList!` macro Instead of manually creating the very deeply nested type. * Update `wasmer` to version 4.3.6-linera-4 Use the new fork release which updates the version of `wat` so that there's no conflict with the new version of `wasmtime`. * Update `wasmtime` to version 25.0.0 Include the fix that allows usage of 17 parameters with typed exported functions. * Don't lower parameters laid out in 16 flat types Keep them as flat parameters instead, even if the return type needs to be lowered as well. * Remove dummy arguments in WIT interface They were added to work-around the issue with function parameters that flattened to 16 flat types, and with the fix they are no longer needed.
1 parent 860056d commit 2cf44d8

File tree

14 files changed

+265
-333
lines changed

14 files changed

+265
-333
lines changed

Cargo.lock

+124-135
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ wasm-bindgen-test = "0.3.42"
160160
wasm-encoder = "0.24.1"
161161
wasm-instrument = "0.4.0"
162162
wasm_thread = "0.3.0"
163-
wasmer = { package = "linera-wasmer", version = "4.3.6-linera.3", default-features = false }
164-
wasmer-compiler-singlepass = { package = "linera-wasmer-compiler-singlepass", version = "4.3.6-linera.3" }
163+
wasmer = { package = "linera-wasmer", version = "4.3.6-linera.4", default-features = false }
164+
wasmer-compiler-singlepass = { package = "linera-wasmer-compiler-singlepass", version = "4.3.6-linera.4" }
165165
wasmparser = "0.101.1"
166-
wasmtime = "24.0.0"
166+
wasmtime = "25.0.0"
167167
wasmtimer = "0.2.0"
168168
webassembly-test = "0.1.0"
169169
web-sys = "0.3.69"

0 commit comments

Comments
 (0)