cranelift-jit-demo icon indicating copy to clipboard operation
cranelift-jit-demo copied to clipboard

Add an example of calling rust code from the jit

Open 0xekez opened this issue 3 years ago • 2 comments

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

0xekez avatar May 30 '21 18:05 0xekez

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

jwpjrdev avatar May 18 '22 14:05 jwpjrdev

I created some examples here #71.

Cy6er7um avatar Nov 06 '22 09:11 Cy6er7um