All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Bump
tomlto 0.9 - MSRV Changed to 1.78.0
- Redirected cargo build output to stderr instead of stdout. This prevents cargo/rustc messages and warnings from appearing in the stdout of cargo-binutils tools, making it easier to pipe or redirect tool output cleanly.
v0.4.0 - 2025-08-26
cargo asis now available (#137)
- Fixed metadata error when using
--manifest-pathoutside of a project folder. - Fixed incorrect parsing of
-Zflags causing them to not be considered (#128) - Improve help messages (#126, #131)
- The
llvm-tools-previewcomponent was renamed tollvm-tools - MSRV Changed to 1.70.0
- Bump
rust-cfgto 0.5,cargo_metadatato 0.18,clapto 4 andtomlto 0.8 - Output better error messages on build failures (#154)
v0.3.6 - 2022-06-20
- Action to build binaries and release for every version tag and latest commit
- Support
--manifest-pathand--configargs to Cargo (#146, #150)
- Bump
cargo_metadatato 0.14 andrustc_versionto 0.4
v0.3.5 - 2022-02-12
- Detect when llvm-binutils haven't been installed and suggest installing them (#116)
- Fix syntax of some examples to use two dashes for arguments to binutils (#114, #115)
v0.3.4 - 2021-11-16
- Fix arch-name argument which now uses an equals sign (#108)
- MSRV bumped to 1.46
v0.3.3 - 2020-11-17
- rust-cov /
cargo cov- proxy forllvm-covused in combination withprofdatafor Rust LLVM InstrProf-based source code coverage analysis.
v0.3.2 - 2020-10-13
- Pass options to LLVM tools with 2 hyphens to stay compatible with latest Rust versions
- Squelch compiler warnings when
--quietis specified
v0.3.1 - 2020-07-30
- Fixed confusion caused by
build.rsin the project generating an virtual artifact resulting inerror: Can only have one matching artifact but found several
- Allow the combination of
--features--no-default-featuresand--all-featuresflags
v0.3.0 - 2020-05-28
- Added
--quietand--colorarguments to be passed tocargo build - Added
--testand--benchbuild arguments to allow targeting testing artifacts - Added
--packageargument so its possible to specify a target package in a workspace - Added
--no-default-featurescargo argument support - Added
--profileargument to allow specifying the profile to build the target package with - Added
--frozen,--locked,--offlinecargo argument support - Added
-Zargument to allow use of unstable cargo features
- Fixed handling of
--libargument to reflect how its used withcargo build - Fixed
--argument handling to ensure argument validation - Fixed
--libto be able to supportlib,rlib,dylib,cdylib, etc. - Fixed panic due to broken pipe, caused by
bail!whilecargo buildis running. Additionally fixes broken output format due to interrupted stderr output fromcargo build - Fixed
rust-*binaries exiting with exit code 0 if the tool was not found - Fixed
cargo buildrunning forcargo profdatawhen its not required - Fixed
--featuresnot allowing multiple
- Changed help output to more closely reflect the help command of
cargosubcommands - Removed
walkdirdependency by using expected path to tool executable - Updated
cargo_metadata 0.9 -> 0.10 - Replaced
failuredependency withanyhow - Allowed multiple levels of verbosity and verbose cargo output via
-vvand-vvv
v0.2.0 - 2020-04-11
- Implement the typical cargo behaviour to determine an artifact to use if none was explictly specified
- Use edition 2018 and bump some dependencies
- Compare artifact against the requested artifact instead of package name
- Use
cargo-metadatainstead ofcargo-project(potentially a breaking change)
v0.1.7 - 2019-11-15
- Add rust-* direct aliases to the llvm tools (e.g. rust-ar, rust-ld, rust-lld etc).
- Fixed detection of workspaces (via cargo-project dependency)
v0.1.6 - 2018-12-18
-
All the
cargo-$toolsubcommands that include a build step now accept the flags:--featuresand--all-features. These flags are passed as is to thecargo buildcommand that these subcommands invoke. -
This project now produces binary artifacts for each new release. You can find the binaries in the releases page.
v0.1.5 - 2018-10-28
- Path inference support for WASM binaries
- Path inference on windows hosts
v0.1.4 - 2018-09-09
-
cargo-objdumpnow produces appropriate output when disassembling for Thumb and PowerPC targets. -
Cargo now respects the
build.target-dirsetting in.cargo/config.
v0.1.3 - 2018-09-01
- A
cargo-readobjsubcommand that proxies thellvm-readobjtool, which is similar to GNU'sreadelf. Note that this subcommand requires nightly from 2018-09-01 or newer.
v0.1.2 - 2018-08-28
- Build and inspect mode. Some tools don't require that the path to the artifact is passed as an argument in this mode. See README for more details.
-
cargo-objdump: More robust detection of the target architecture. Theriscv32imac-unknown-none-elfis now properly supported. -
More robust post processing. If the output of the LLVM tool can not be processed then the original output is shown instead of just showing an error message.
v0.1.1 - 2018-07-15
cargo-stripsubcommand
- The
llvm-toolscomponent was renamed tollvm-tools-preview
Initial release