diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-16 21:41:37 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-16 22:07:18 +1100 |
| commit | 6eabf03526e561ea31b99e14a069e86cc168bede (patch) | |
| tree | 107779aa0873040680618852875119162a748284 /compiler/rustc_mir_transform/src/lib.rs | |
| parent | f1300c860e6ff4e024f0a347b87f94e36785ce49 (diff) | |
| download | rust-6eabf03526e561ea31b99e14a069e86cc168bede.tar.gz rust-6eabf03526e561ea31b99e14a069e86cc168bede.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/lib.rs')
| -rw-r--r-- | compiler/rustc_mir_transform/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/lib.rs b/compiler/rustc_mir_transform/src/lib.rs index 9459ef99445..db999bea986 100644 --- a/compiler/rustc_mir_transform/src/lib.rs +++ b/compiler/rustc_mir_transform/src/lib.rs @@ -1,4 +1,5 @@ // tidy-alphabetical-start +#![feature(array_windows)] #![feature(assert_matches)] #![feature(box_patterns)] #![feature(const_type_name)] |
