Commit 9486199
committed
stack-switching: fix continuation stack walking
A refactor during the stack switching runtime changes
introduced a defect not present in the base stack switching
code. The `chunks` iterator call ends up skipping elements
and the `windows` call would require pulling in something
like `itertools::zip_longest` to work, so I just restored
an impl closer to the original implementation (but with
more fine-grained unsafe calls).
This code has coverage but only in the final round of
stack swithching changes.1 parent a80dd80 commit 9486199
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 265 | + | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
272 | | - | |
273 | | - | |
| 269 | + | |
274 | 270 | | |
275 | 271 | | |
276 | | - | |
| 272 | + | |
277 | 273 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 274 | + | |
| 275 | + | |
283 | 276 | | |
284 | 277 | | |
285 | 278 | | |
| |||
0 commit comments