Files
moonwell-client-core/.github
Sam Sung fb5d9818fa The Windows player build reserves an 8 MB main-thread stack (#2777)
The Windows player build died at the login screen with `thread 'main' has overflowed its stack`. The app runs on the main thread, where the windowing event loop lives. The MSVC linker reserves 1 MB for it, and mingw 2 MB, where Linux and macOS give 8 MB. Nothing in the workspace raised it.

Changed: `crates/benilla/build.rs` asks the linker for an 8 MB main-thread stack on Windows (`/STACK` on MSVC, `--stack` on gnu). A new step in the Windows CI job builds the player binary and reads `SizeOfStackReserve` back from its PE header.

Built: macOS, and x86_64-pc-windows-gnu with this build script on a probe binary (`SizeOfStackReserve` 0x800000, against 0x200000 without). The reporter's `editbin /STACK:16777216` on the MSVC binary confirmed the cause.

Fixes #2776

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:24:15 +07:00
..