introduce --laxStrings:on switch

This commit is contained in:
Araq 2018-04-30 19:57:52 +02:00
commit 851d2a266d
2 changed files with 4 additions and 2 deletions

View file

@ -85,7 +85,9 @@
these is ``"" / @[]``.
- Accessing the binary zero terminator in Nim's native strings
is now invalid. Internally a Nim string still has the trailing zero for
zero-copy interoperability with ``cstring``.
zero-copy interoperability with ``cstring``. Compile your code with the
next switch ``--laxStrings:on`` if you need a transition period.
### Tool changes