Skip to content

gh-59 Add example of calling rust code from JIT#60

Open
0xekez wants to merge 2 commits intobytecodealliance:mainfrom
0xekez:zeke/gh-59
Open

gh-59 Add example of calling rust code from JIT#60
0xekez wants to merge 2 commits intobytecodealliance:mainfrom
0xekez:zeke/gh-59

Conversation

@0xekez
Copy link
Copy Markdown
Contributor

@0xekez 0xekez commented May 30, 2021

This adds an example of calling a simple print function from the JIT. The print function is written in Rust and this demonstrates how to call functions declared in the host program from the JIT.

Comment thread src/jit.rs Outdated
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants