On Wednesday, 7 May 2025 at 22:31:30 UTC, Walter Bright wrote:
>Well, that use of markdown didn't go well!
Anyhow, I changed my mind. I think the correct change is to just remove the -release switch from the druntime build.
Okay, I use that approach too, but it requires you to distinguish between assert
and debug assert
and invariants, but druntime and phobos were written with an assumption that assert
has the purpose of debug assert
, so it uses assert for all sorts of contract and extensive debug checks.