What is the theoretical limitation for the number of arguments possible to pass to a function in Rust?
Not sure if it's documented anywhere, but the current answer is 65535. Trying to go over it will give you the error
error: function can not have more than 65535 arguments
3 Likes
Wow, thank you! Seems enough for my needs.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.