diff --git a/lib/pure/marshal.nim b/lib/pure/marshal.nim index cf262b5f0d..daf313b5c1 100644 --- a/lib/pure/marshal.nim +++ b/lib/pure/marshal.nim @@ -50,6 +50,11 @@ ## * `streams module `_ ## * `json module `_ +when defined(nimV2): + {.error: """marshal module is not supported in new runtime. +Please use alternative packages for serialization. +It is possible to reimplement this module using generics and type traits. +Please contribute new implementation.""".} import streams, typeinfo, json, intsets, tables, unicode