Skip to content

Commit

Permalink
Support 17 parameters in typed functions (#9170)
Browse files Browse the repository at this point in the history
Increase the limit of supported typed parameters in functions, in order
to support the WIT interface of functions that have 16 flat type
parameters plus an extra pointer for the heap return area.
  • Loading branch information
jvff authored Aug 23, 2024
1 parent 07f3e34 commit 58f8258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/wasmtime/src/runtime/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ macro_rules! for_each_function_signature {
$mac!(14 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14);
$mac!(15 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15);
$mac!(16 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16);
$mac!(17 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17);
};
}

Expand Down

0 comments on commit 58f8258

Please sign in to comment.