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

Add an example of calling rust code from the jit #59

Open
0xekez opened this issue May 30, 2021 · 2 comments
Open

Add an example of calling rust code from the jit #59

0xekez opened this issue May 30, 2021 · 2 comments

Comments

@0xekez
Copy link
Contributor

0xekez commented May 30, 2021

For example, write a simple print function which can be called from compiled code to print a value.

0xekez added a commit to 0xekez/cranelift-jit-demo that referenced this issue May 30, 2021
@jwpjrdev
Copy link

jwpjrdev commented May 18, 2022

How does the puts call work? I see an explanation but a link to some docs or something that explains this in further detail (what other functions are resolved, potential errors, etc.) would be nice.

Edit: my bad, I meant to post this under PR #60

@Cy6er7um
Copy link

Cy6er7um commented Nov 6, 2022

I created some examples here #71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants