anza-xyz / move

Move compiler targeting llvm supported backends
https://discord.gg/wFgfjG9J
Apache License 2.0
108 stars 33 forks source link

Fix handling of entry functions with void return value by entrypoint #319

Closed dmakarov closed 1 year ago

dmakarov commented 1 year ago

Motivation

Solana entrypoint is expected to return a value. For Move entry functions that return no value generate a return code 0.

Test Plan

Added a runnable test Move package with an entry function returning no value.