Crates.io | rustc-llvm-proxy |
lib.rs | rustc-llvm-proxy |
version | 0.2.0 |
source | src |
created_at | 2018-08-19 09:21:07.353716 |
updated_at | 2020-01-02 22:04:36.095012 |
description | Dynamically proxy LLVM calls into Rust own shared library |
homepage | |
repository | https://github.com/denzp/rustc-llvm-proxy |
max_upload_size | |
id | 80206 |
size | 21,164 |
Dynamically proxy LLVM calls into Rust own shared library! 🎉
Normally there is no much need for the crate, except a couple of exotic cases:
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:
[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:
[dependencies]
rustc-llvm-proxy = "0.2"
extern crate rustc_llvm_proxy;