More evidence that memory safety is the future for programming languages
Dukc
ajieskola at gmail.com
Wed Apr 1 20:32:27 UTC 2020
On Wednesday, 1 April 2020 at 14:30:20 UTC, Atila Neves wrote:
> On Tuesday, 31 March 2020 at 23:08:01 UTC, Dukc wrote:
>> Basically, to cut down memory problems a sanitizer should be
>> as easy to use as the built-in `unittest`s.
>
> It is:
>
> dflags: "-fsanitize=address" platform="ldc"
>
>
> If you're not using dub, then:
>
> ldc2 -fsanitize=address --unittest $REST_OF_ARGS
Great!
More information about the Digitalmars-d
mailing list