taiki-e / cargo-llvm-cov

Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).
Apache License 2.0
858 stars 57 forks source link

Add unstable --branch flag #356

Closed taiki-e closed 3 months ago

taiki-e commented 3 months ago

cc #8

With this change, when the --branch flag is passed cargo-llvm-cov now adds -Z coverage-options=branch to rustflags/rustdocflags. (-show-branches is already passed since https://github.com/taiki-e/cargo-llvm-cov/pull/308) See https://github.com/rust-lang/rust/issues/79649#issuecomment-1999562694 for more.

This requires nightly-2024-03-16+.

branch