cargo-hack
cargo-hack copied to clipboard
Keeping compilation artifacts of each run
Is there a way for me to make cargo-hack
keep the compiled binary after each run? I'm thinking of something like this:
# Assume crate foo has features alpha and bravo
$ cargo hack build --feature-powerset --keep-artifacts
$ ls target/debug/cargo-hack-artifacts
foo
foo-alpha
foo-bravo
foo-alpha-bravo
This would be useful if for example, you would like to upload them as CI artifacts.
If this is currently not possible, I would like to volunteer to work on a PR, thanks.