Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cap number of args to wasm functions #1256

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Cap number of args to wasm functions #1256

merged 2 commits into from
Nov 28, 2023

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Nov 28, 2023

This just limits the number of args allowed to wasm functions to something reasonable (32).

@graydon graydon added this pull request to the merge queue Nov 28, 2023
@leighmcculloch
Copy link
Member

leighmcculloch commented Nov 28, 2023

It'd be good if we caught limits like this earlier in the SDK in codegen and CLI when building, but a limit of 32 is so high I don't think it's worth the maintenance cost of the logic to add to those things.

Merged via the queue into main with commit 559c24c Nov 28, 2023
10 checks passed
@graydon graydon deleted the wasmi-args branch November 28, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants