|0.1.1||Mar 23, 2019|
|0.1.0||Mar 23, 2019|
3,583 downloads per month
Used in 5 crates (4 directly)
Provides access to the llvm tools installed through the
llvm-tools-preview rustup component.
Add the dependency in your
[dependencies] llvm-tools = "0.1"
Get the path to the
llvm-objcopy that is shipped with Rust:
let llvm_tools = llvm_tools::LlvmTools::new().expect("failed to find llvm-tools"); let objcopy = llvm_tools.tool(&llvm_tools::exe("llvm-objcopy")) .expect("llvm-objcopy not found in llvm-tools"); let mut cmd = Command::new(objcopy); cmd.arg("…"); […]
Note this only works if the user has the
llvm-tools-preview rustup component installed. Else
Error::NotFound is returned.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.