diff options
author | flywind <xzsflywind@gmail.com> | 2021-03-05 02:33:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 19:33:16 +0100 |
commit | e1cc3b83fba0bc66790959d3cd84d70464c31e4f (patch) | |
tree | 80eb07c8be4d7e5ab60033afc9b0579a4ebe8fec /compiler | |
parent | 2e3d324cc6d2bb923af6acaa2a5fd8da4ca9c286 (diff) | |
download | Nim-e1cc3b83fba0bc66790959d3cd84d70464c31e4f.tar.gz |
deprecate newruntime (#17245)
* deprecate newruntime * tests * Update compiler/commands.nim
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/commands.nim | 1 |
1 files changed, 1 insertions, 0 deletions
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) |