Skip to content

Commit

Permalink
Unrolled build for rust-lang#131918
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#131918 - Zalathar:counters, r=nnethercote

coverage: Make counter creation handle node/edge counters more uniformly

Similar to rust-lang#130380, this is another round of small improvements informed by my ongoing attempts to overhaul coverage counter creation.

One of the big benefits is getting rid of the awkward special-case that would sometimes attach an edge counter to a node instead. That was needed by the code that chooses which out-edge should be given a counter expression, but we can avoid that by making the corresponding check a little smarter.

I've also renamed several things to be simpler and more consistent, which should help with future changes.
  • Loading branch information
rust-timer authored Oct 22, 2024
2 parents f225713 + 4b8f7f5 commit 34baf87
Showing 1 changed file with 107 additions and 117 deletions.
Loading

0 comments on commit 34baf87

Please sign in to comment.