The "-release" and "-boundscheck=off" command line switches

JamesRScheller stuartheccleston at hotmail.com
Wed Sep 25 03:58:56 UTC 2024


On Monday, 26 June 2023 at 19:18:52 UTC, Cecil Ward wrote:
> Does "-release" imply "-boundscheck=off" automatically in LDC ?

I think No, the "-release" switch does not automatically imply 
"-boundscheck=off" in LDC. Because to disable bounds checking, 
you need to use the '-b release-nobounds' option for Dub or 
explicitly set '-boundscheck=off' when using ldc2.


More information about the digitalmars-d-ldc mailing list