Commit a628d09
fix(tests): isolate fixtures from codemod rewrites and bump Windows debug stack (#613)
Copy fixtures into a per-test temp dir before invoking ado-aw compile so
the pool_object_form codemod cannot race-rewrite tests/fixtures/*.md
under parallel cargo test, which was tripping the lost-update guard
with 'source file ... changed during compilation' on CI.
Also add .cargo/config.toml setting /STACK:8388608 on Windows MSVC to
match the Linux/macOS 8 MiB default. Debug builds of ado-aw compile
overflow the 1 MiB Windows main-thread stack because #[tokio::main]
polls the top-level future on main and the deeply-nested async fns
produce very large unoptimised state machines.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 93735b3 commit a628d09
2 files changed
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
| 854 | + | |
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
859 | 865 | | |
860 | 866 | | |
861 | 867 | | |
| |||
3520 | 3526 | | |
3521 | 3527 | | |
3522 | 3528 | | |
3523 | | - | |
| 3529 | + | |
3524 | 3530 | | |
3525 | 3531 | | |
3526 | 3532 | | |
3527 | 3533 | | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
3528 | 3543 | | |
3529 | 3544 | | |
3530 | 3545 | | |
| |||
0 commit comments