We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
main
#[ewasm_main] is a macro to wrap a function to with main function for ewasm. Currently, the function wrappered is not allow to be name as main.
#[ewasm_main]
For a better UX, it is good to rename the function when its name is main, and not panic.
Please help with this issue.
Relate PR #35 https://github.com/second-state/SewUp/pull/35/files#diff-6f891a9986798db9fa65d7dd779c98c44afa864739fdd39a556eafdcdb75a943R19 https://github.com/second-state/SewUp/blob/main/sewup-derive/src/lib.rs#L19
The text was updated successfully, but these errors were encountered:
This is not a issue with nesting functions
Sorry, something went wrong.
No branches or pull requests
#[ewasm_main]
is a macro to wrap a function to with main function for ewasm.Currently, the function wrappered is not allow to be name as
main
.For a better UX, it is good to rename the function when its name is
main
, and not panic.Please help with this issue.
Relate PR #35
https://github.com/second-state/SewUp/pull/35/files#diff-6f891a9986798db9fa65d7dd779c98c44afa864739fdd39a556eafdcdb75a943R19
https://github.com/second-state/SewUp/blob/main/sewup-derive/src/lib.rs#L19
The text was updated successfully, but these errors were encountered: