Skip to content

Commit

Permalink
CI: Use -Z coverage-options=branch when measuring coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Jun 20, 2024
1 parent c88a5ed commit 842dbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ if [ -n "${RING_COVERAGE-}" ]; then
declare -x "${runner_var}=mk/runner ${!runner_var-}"

rustflags_var=CARGO_TARGET_${target_upper}_RUSTFLAGS
declare -x "${rustflags_var}=${additional_rustflags} -Cinstrument-coverage ${!rustflags_var-}"
declare -x "${rustflags_var}=${additional_rustflags} -Cinstrument-coverage ${!rustflags_var-} -Z coverage-options=branch"
fi

if [ -n "${use_clang}" ]; then
Expand Down

0 comments on commit 842dbbf

Please sign in to comment.