6 ms·
Another thing I noticed: the Nim code was compiled without the -d:release flag. For example, the JSON test was compiled with: $ nim c -o:json_test_nim -d:
by perturbation 7y ago
Another thing I noticed: the Nim code was compiled without the -d:release flag.
For example, the JSON test was compiled with:
$ nim c -o:json_test_nim -d:danger --cc:gcc --verbosity:0 json_test.nim
I don't think that the -d:danger implies release (even if necessary to do things like disable bounds checking)?
- Tiberium 7y agoIt does imply release in latest Nim versions, `-d:release` still has some checks enabled, and `-d:danger` is full-on release mode with all possible checks disabled.
- perturbation 7y agoAh, thank you for explaining! That makes sense.