Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, even small files. You must have issues with your setup. Are you sure your compiler is not built in debug mode?


How would I check that? I installed it through homebrew via https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/... which doesn't seem to mention debug mode anywhere?


Run `nim -v`, if it's not in debug mode you should see "active boot switches: -d:release".


Looks like it isn't in debug mode after all.

    $ nim -v
    Nim Compiler Version 1.6.6 [MacOSX: arm64]
    Compiled at 2022-05-05
    Copyright (c) 2006-2021 by Andreas Rumpf
    
    active boot switches: -d:release -d:nimUseLinenoise




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: