finish migration to new compiler API
This commit is contained in:
parent
ba46f95feb
commit
a0670e9620
1 changed files with 2 additions and 0 deletions
|
|
@ -269,6 +269,8 @@ proc cleanup() =
|
||||||
compiler_options.command = ""
|
compiler_options.command = ""
|
||||||
when declared(resetAllModulesHard):
|
when declared(resetAllModulesHard):
|
||||||
resetAllModulesHard()
|
resetAllModulesHard()
|
||||||
|
else:
|
||||||
|
resetSystemArtifacts()
|
||||||
clearPasses()
|
clearPasses()
|
||||||
msgs.gErrorMax = 1
|
msgs.gErrorMax = 1
|
||||||
msgs.writeLnHook = nil
|
msgs.writeLnHook = nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue