fix(windows): Fs.remove removes an empty directory, as POSIX remove does

The UCRT's remove() deletes files only, so a tree removed bottom-up left every
directory behind. emit_win defines remove over DeleteFileA, falling back to
RemoveDirectoryA. Found by Maroon Lake's selftest26 ("1 left behind"), which now
passes on Windows with the rest of that game's self-tests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-13 02:27:21 +03:00
parent cb05721a89
commit 1bc255bc40
3 changed files with 13458 additions and 13433 deletions

File diff suppressed because it is too large Load diff