From 732f7752a954bb33a92e839304006ba5d865400a Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:29:45 +0800 Subject: remove nir; succeeded by nif (#23809) ref https://github.com/nim-lang/nif --- compiler/nim.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/nim.nim') diff --git a/compiler/nim.nim b/compiler/nim.nim index 3473ea443..1d499a50d 100644 --- a/compiler/nim.nim +++ b/compiler/nim.nim @@ -116,8 +116,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) = conf.backend = backendC if conf.selectedGC == gcUnselected: - if conf.backend in {backendC, backendCpp, backendObjc, backendNir} or - (conf.cmd == cmdInteractive and isDefined(conf, "nir")) or + if conf.backend in {backendC, backendCpp, backendObjc} or (conf.cmd in cmdDocLike and conf.backend != backendJs): initOrcDefines(conf) -- cgit 1.4.1-2-gfad0