diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2024-07-09 15:29:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 09:29:45 +0200 |
commit | 732f7752a954bb33a92e839304006ba5d865400a (patch) | |
tree | 8ad5d283cba3570b5916cfe81ac388116faed881 /compiler/nim.nim | |
parent | 14f86b3965bfe096b5fed81caa0cc1570f7e7fdf (diff) | |
download | Nim-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.nim | 3 |
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) |