mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
we do not support -d:useWinAnsi switch anymore
This commit is contained in:
@@ -32,11 +32,11 @@
|
||||
- `getImpl` on a `var` or `let` symbol will now return the full `IdentDefs`
|
||||
tree from the symbol declaration instead of just the initializer portion.
|
||||
- it is now possible to use statement list expressions after keywords with
|
||||
indentation: raise, return, discard, yield. This helps parsing code produced
|
||||
indentation: raise, return, discard, yield. This helps parsing code produced
|
||||
by Nim template expansion where stmtListExpr can appear in place of any expression.
|
||||
Example:
|
||||
```nim
|
||||
raise
|
||||
raise
|
||||
var e = new(Exception)
|
||||
e.msg = "My Exception msg"
|
||||
e
|
||||
@@ -189,6 +189,7 @@ proc enumToString*(enums: openArray[enum]): string =
|
||||
differently.
|
||||
|
||||
- `securehash` is moved to `lib/deprecated`
|
||||
- The switch ``-d:useWinAnsi`` is not supported anymore.
|
||||
|
||||
|
||||
### Language additions
|
||||
|
||||
@@ -350,15 +350,13 @@ Define Effect
|
||||
More aggressive optimizations are possible, eg:
|
||||
``--passC:-ffast-math`` (but see issue #10305)
|
||||
``--stacktrace:off``
|
||||
``useWinAnsi`` Modules like ``os`` and ``osproc`` use the Ansi versions
|
||||
of the Windows API. The default build uses the Unicode
|
||||
version.
|
||||
``useFork`` Makes ``osproc`` use ``fork`` instead of ``posix_spawn``.
|
||||
``useNimRtl`` Compile and link against ``nimrtl.dll``.
|
||||
``useMalloc`` Makes Nim use C's `malloc`:idx: instead of Nim's
|
||||
own memory manager, albeit prefixing each allocation with
|
||||
its size to support clearing memory on reallocation.
|
||||
This only works with ``gc:none``.
|
||||
This only works with ``gc:none`` and
|
||||
with ``--newruntime``.
|
||||
``useRealtimeGC`` Enables support of Nim's GC for *soft* realtime
|
||||
systems. See the documentation of the `gc <gc.html>`_
|
||||
for further information.
|
||||
|
||||
Reference in New Issue
Block a user