nim.cfg allows checking flags:
@if release obj_checks: on @end Run
@if release obj_checks: on @end
Is it possible to achieve the same in NimScript (when defined(release) doesn't work)?