| Crates.io | aya-rustc-llvm-proxy |
| lib.rs | aya-rustc-llvm-proxy |
| version | 0.9.5 |
| created_at | 2021-12-17 15:33:37.987653+00 |
| updated_at | 2025-08-23 11:09:15.60202+00 |
| description | Dynamically proxy LLVM calls into Rust own shared library |
| homepage | |
| repository | https://github.com/aya-rs/rustc-llvm-proxy |
| max_upload_size | |
| id | 499670 |
| size | 49,291 |
This is a fork of the rustc-llvm-proxy crate.
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]
aya-rustc-llvm-proxy = "0.9"
extern crate aya_rustc_llvm_proxy;