diff --git a/compiler/commands.nim b/compiler/commands.nim index 123e404141..597063a680 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -843,6 +843,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "hotcodereloading": processOnOffSwitchG(conf, {optHotCodeReloading}, arg, pass, info) if conf.hcrOn: + warningDeprecated(conf, info, "hotCodeReloading is deprecated, see https://github.com/nim-lang/RFCs/issues/573 for further information") defineSymbol(conf.symbols, "hotcodereloading") defineSymbol(conf.symbols, "useNimRtl") # hardcoded linking with dynamic runtime for MSVC for smaller binaries