Unfortunately, your approach doesn't work because most of the flags that `-d:danger` activates/deactivates are set in `nim.cfg`. In fact, if you look at the binary size of your `hi.nim` file compiled with your method and with the standard `nim c -d:danger hi.nim`, you'll see that the latter one will be smaller in size, because it will have all the `-d:danger` flags properly activated, getting rid of debug stuff, dead code, etc...
- Add custom flags to nimble install vitreo12
- Re: Add custom flags to nimble install SolitudeSF
- Re: Add custom flags to nimble install vitreo12
- Re: Add custom flags to nimble install juancarlospaco
- Re: Add custom flags to nimble install vitreo12
- Re: Add custom flags to nimble instal... juancarlospaco
- Re: Add custom flags to nimble in... vitreo12
- Re: Add custom flags to nimbl... SolitudeSF
- Re: Add custom flags to nimbl... SolitudeSF
- Re: Add custom flags to nimbl... vitreo12
