athenavm / athena

Athena monorepo
https://www.athenavm.org/
Apache License 2.0
21 stars 2 forks source link

allow using `template` proc macro multiple times #205

Closed poszu closed 3 weeks ago

poszu commented 3 weeks ago

Closes #160

Removed the noentrypoint feature. A program with no "main" can simply use entrypoint!() without a parameter.

Changed the template macro to not include the entrypoint to allow using it multiple times in a program (look at the wallet template for a use case).