Does config file include both `.cfg` file and `.nims` file ? I use `switch("define", "danger")` in `config.nims` and when compiling I get `Hint: 210575 lines; 9.281s; 435.492MiB peakmem; Dangerous Release build;` which indicates that danger was taken into account.
Is that message not accurate ?