fixes nim check with orc (#20456)
* fixes nim check with orc * fixes tests * add tests * fixes tests * Update tests/arc/t20456.nim
This commit is contained in:
parent
0769b160c5
commit
81e7811e01
5 changed files with 27 additions and 1 deletions
|
|
@ -97,6 +97,10 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
|
|||
if not self.loadConfigsAndProcessCmdLine(cache, conf, graph):
|
||||
return
|
||||
|
||||
if conf.cmd == cmdCheck and optWasNimscript notin conf.globalOptions and
|
||||
conf.backend == backendInvalid:
|
||||
conf.backend = backendC
|
||||
|
||||
if conf.selectedGC == gcUnselected:
|
||||
if conf.backend in {backendC, backendCpp, backendObjc}:
|
||||
initOrcDefines(conf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue