cranelift-jit-demo
cranelift-jit-demo copied to clipboard
Add an example of calling rust code from the jit
For example, write a simple print
function which can be called from compiled code to print a value.
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
I created some examples here #71.