deprecate newruntime (#17245)
* deprecate newruntime * tests * Update compiler/commands.nim
This commit is contained in:
parent
2e3d324cc6
commit
e1cc3b83fb
16 changed files with 17 additions and 15 deletions
|
|
@ -891,6 +891,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
if conf != nil:
|
||||
conf.cppDefine(arg)
|
||||
of "newruntime":
|
||||
warningDeprecated(conf, info, "newruntime is deprecated, use arc/orc instead!")
|
||||
expectNoArg(conf, switch, arg, pass, info)
|
||||
if pass in {passCmd2, passPP}:
|
||||
doAssert(conf != nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue