diff options
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 3bb4ad399..b5186ba6c 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -252,8 +252,8 @@ proc CommandCompileToC = compileProject() - if optCaasEnabled in gGlobalOptions: - cgenCaasUpdate() + if compilationCachePresent: + updateCachedModules() if gCmd != cmdRun: extccomp.CallCCompiler(changeFileExt(gProjectFull, "")) |