struct S { int[100_000] a; } assert fails in cgobj.d line 2754, because the object file format cannot handle larger sizes.
@WalterBright created dlang/dmd pull request #12261 "fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k…" fixing this issue: - fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k in size https://github.com/dlang/dmd/pull/12261
dlang/dmd pull request #12261 "fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k…" was merged into master: - 4664d30829040da4486ffb13468fe4683d74555f by Walter Bright: fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k in size https://github.com/dlang/dmd/pull/12261