Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: Prepare mappings separately from injecting statements #119438

Merged
merged 2 commits into from
Dec 30, 2023

Commits on Dec 30, 2023

  1. coverage: Prepare mappings separately from injecting statements

    These two tasks historically needed to be interleaved, but after various recent
    changes (including rust-lang#116046 and rust-lang#116917) they can now be fully separated.
    Zalathar committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    e1a2bab View commit details
    Browse the repository at this point in the history
  2. coverage: Make coverage_counters a local variable

    This avoids the awkwardness of having to create it in the pass's constructor,
    and then mutate it later to actually create the counters.
    Zalathar committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    3f67118 View commit details
    Browse the repository at this point in the history