summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-07-09 15:29:45 +0800
committerGitHub <noreply@github.com>2024-07-09 09:29:45 +0200
commit732f7752a954bb33a92e839304006ba5d865400a (patch)
tree8ad5d283cba3570b5916cfe81ac388116faed881 /compiler/nim.nim
parent14f86b3965bfe096b5fed81caa0cc1570f7e7fdf (diff)
downloadNim-732f7752a954bb33a92e839304006ba5d865400a.tar.gz
remove nir; succeeded by nif (#23809)
ref https://github.com/nim-lang/nif
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim3
1 files changed, 1 insertions, 2 deletions
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)