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

Allow return value from exported functions #81

Open
lrettig opened this issue Aug 5, 2024 · 1 comment
Open

Allow return value from exported functions #81

lrettig opened this issue Aug 5, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@lrettig
Copy link
Contributor

lrettig commented Aug 5, 2024

For now, exported functions have no return value. The FFI wrapper just calls halt when the function ends, and its return value is discarded. We likely want to change this.

This work is partially done here: https://github.com/athenavm/athena/tree/returnval-abi

@lrettig
Copy link
Contributor Author

lrettig commented Oct 22, 2024

Related: #72, #36

@lrettig lrettig added the help wanted Extra attention is needed label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant