coverage: Make yank_to_spantree_root iterative instead of recursive

This avoids having to worry about stack space when traversing very long
spantree paths, e.g. when instrumenting a long sequence of if/else statements.
This commit is contained in:
Zalathar
2025-01-16 21:41:37 +11:00
parent f1300c860e
commit 6eabf03526
2 changed files with 34 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
// tidy-alphabetical-start
#![feature(array_windows)]
#![feature(assert_matches)]
#![feature(box_patterns)]
#![feature(const_type_name)]