docs.rs failed to build aya-rustc-llvm-proxy-0.9.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Aya Rustc LLVM Proxy
This is a fork of the rustc-llvm-proxy crate.
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:
- Your crate is some kind build process helper that leverages LLVM (e.g. bpf-linker),
- Your crate needs to stay up to date with Rust LLVM version (again bpf-linker),
- You would prefer not to have dependencies on host LLVM libs (as always bpf-linker).
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:
[]
= "60"
= ["no-llvm-linking", "disable-alltargets-init"]
Then all you need to do is to include the crate into your project:
[]
= "0.9"
extern crate aya_rustc_llvm_proxy;