An Example of Using LLVM from Rust This example compiles a simple function using the LLVM C API through the llvm-sys crate.