How to enable incremental compilation?
I get this error when I try using --incremental:on
Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
Is there something I need to do with choosenim to "bootstrap with -d:nimIncremental"? Thanks
Choosenim doesn't allow you to pass custom flags to Nim for bootstrapping right now, so you'll need to build Nim yourself to get this feature. You can find instructions for how to do this in the Nim repo.
We can support this as a feature in choosenim, so I will keep this issue. If you want to implement it let me know, I can offer some advice :)
This could be as simple as making choosenim 1.6.0 --compileFlag:--incremental:on (or similar) work. One thing to consider is that most of the time choosenim will download nightlies, you will need to force it to bootstrap if custom flags are passed.