Rustc LLVM Proxy

Build Status Build status Current Version Docs

Dynamically proxy LLVM calls into Rust own shared library! 🎉

Use cases

Normally there is no much need for the crate, except a couple of exotic cases:

Usage

First, you need to make sure no other crate links your binary against system LLVM library. In case you are using llvm-sys, this can be achieved with a special feature:

toml [dependencies.llvm-sys] version = "60" features = ["no-llvm-linking", "disable-alltargets-init"]

Then all you need to do is to include the crate into your project:

toml [dependencies] rustc-llvm-proxy = "0.2"

rust extern crate rustc_llvm_proxy;