Skip to content

Commit

Permalink
Merge pull request #1549 from briansmith/b/coverage-update
Browse files Browse the repository at this point in the history
CI: Use -Cinstrument-coverage
  • Loading branch information
briansmith authored Nov 4, 2022
2 parents 0a0c375 + 7d395fb commit 414a7dc
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 @@ -136,7 +136,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}=-Zinstrument-coverage ${!rustflags_var-}"
declare -x "${rustflags_var}=-Cinstrument-coverage ${!rustflags_var-}"
fi

cargo "$@"
Expand Down

0 comments on commit 414a7dc

Please sign in to comment.