From e1cc3b83fba0bc66790959d3cd84d70464c31e4f Mon Sep 17 00:00:00 2001 From: flywind Date: Fri, 5 Mar 2021 02:33:16 +0800 Subject: deprecate newruntime (#17245) * deprecate newruntime * tests * Update compiler/commands.nim --- compiler/commands.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') diff --git a/compiler/commands.nim b/compiler/commands.nim index 7ee2c0459..abe1970dc 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -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) -- cgit 1.4.1-2-gfad0