--usenimcache (implied by nim r main) now caches some compile options to avoid recompiling when project was previously compiled with such options. (#17829)
* `--usenimcache` (implied by `nim r main`) now caches some compile options to avoid recompiling when project was previously compiled with such options. * works * add test * changelog * use std/with
This commit is contained in:
parent
e67593d317
commit
ffe4328b35
6 changed files with 91 additions and 52 deletions
3
tests/misc/mbetterrun.nim
Normal file
3
tests/misc/mbetterrun.nim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const mbetterrunVal {.strdefine.} = ""
|
||||
static: echo "compiling: " & mbetterrunVal
|
||||
echo "running: " & mbetterrunVal
|
||||
Loading…
Add table
Add a link
Reference in a new issue