Minimal Rust bindings to LLVM's TableGen via the ctablegen library. Requires llvm-config, LLVM Core and Support libraries along with includes.
If llvm-config is not on the system path or named differently, set the LLVMCONFIGPATH environment variable:
LLVMCONFIGPATH=/usr/bin/llvm-config-3.9 cargo build
LLVMCONFIGPATH=llvm-config-3.8 cargo build