Skip to content

Commit

Permalink
fixes #23065; DocLike command defaults to ORC (#23075)
Browse files Browse the repository at this point in the history
fixes #23065
  • Loading branch information
ringabout authored Dec 14, 2023
1 parent 6ed33b6 commit 7e4060c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/nim.nim
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =

if conf.selectedGC == gcUnselected:
if conf.backend in {backendC, backendCpp, backendObjc, backendNir} or
(conf.cmd == cmdInteractive and isDefined(conf, "nir")):
(conf.cmd == cmdInteractive and isDefined(conf, "nir")) or
(conf.cmd in cmdDocLike and conf.backend != backendJs):
initOrcDefines(conf)

mainCommand(graph)
Expand Down

0 comments on commit 7e4060c

Please sign in to comment.