An attempt to create safe Rust LLVM bindings (rust-lang/rfcs#644).
Primarily will be used in my LLVM Kaleidoscope tutorial for Rust.
It is the very beginning of work on safe bindings. Pull requests are welcome.
iron-llvm you need to install LLVM. Note, that if you use binary distribution, you need
to have the dev version (with includes).
llvm-config should be in
TODO list (random points to do in the nearest time):
- proper documentation
- refactor boilerplate in memory manager bindings
- full ExecutionEngine API
- change all methods to use static dispatch where appropriate (as in GenericValue)