1 unstable release
Uses old Rust 2015
0.0.1 | Apr 10, 2017 |
---|
#4 in #lto
600KB
296 lines
Contains (WOFF font, 120KB) docs/Heuristica-Italic.woff, (WOFF font, 90KB) docs/FiraSans-Medium.woff, (WOFF font, 92KB) docs/FiraSans-Regular.woff, (WOFF font, 56KB) docs/SourceCodePro-Regular.woff, (WOFF font, 56KB) docs/SourceCodePro-Semibold.woff, (WOFF font, 49KB) docs/SourceSerifPro-Bold.woff and 1 more.
llvm_link
High level libLTO
bindings for Rust.
This crate expects llvm v3.9.1, higher or lower may present a problem.
All development work was done on Fedora25. So building on Windows/OSX isn't strictly supported yet.
lib.rs
:
llvm_link
These are bindings to the LLVM's libLTO
Link Time Optimization library.
This crate currently assumes you are locally using LLVMv3.9.1 It was originally compiled on Fedora25 AMD64, so you may have trouble getting it to work on other platforms. Windows and OSX is not yet supported. To build on Fedora25 you will need to install.
sudo dnf install gcc gcc-c++ llvm-devel redhat-rpm-config ncurses-devel
To use in a Rust Project
[dependencies]
llvm_link = "0.0.1"
Examples:
To get the local libLTO version:
use llvm_link::get_lto_version;
println!("{}",get_lto_version());