Now compiling with --mm:orc, hopefully fixed leaks.
h3rald h3rald@h3rald.com
Wed, 03 Jun 2026 14:03:26 +0200
3 files changed,
5 insertions(+),
3 deletions(-)
M
min.nims
→
min.nims
@@ -9,7 +9,8 @@ switch("amd64.linux.gcc.exe", "x86_64-linux-musl-gcc")
switch("amd64.linux.gcc.linkerexe", "x86_64-linux-musl-gcc") switch("opt", "size") -switch("mm", "refc") +switch("mm", "orc") +switch("deepCopy", "on") switch("threadAnalysis", "off") when not defined(nossl):
M
minpkg/core/parser.nim
→
minpkg/core/parser.nim
@@ -78,7 +78,7 @@ kind*: MinEventKind
err*: MinParserError filename*: string MinValue* = MinValueObject - MinValueObject* {.acyclic, final.} = object + MinValueObject* = object filename*: string case kind*: MinKind of minUnknown: discard@@ -103,7 +103,7 @@ of minBool: boolVal*: bool
MinScopeKind* = enum minNativeScope, minLangScope - MinScope* {.acyclic, shallow, final.} = object + MinScope* = object parent*: ref MinScope symbols*: CritBitTree[MinOperator] sigils*: CritBitTree[MinOperator]
M
next-release.md
→
next-release.md
@@ -1,6 +1,7 @@
### New Features * By default, nimble builds are no longer statically linking other libraries. +* Removed acyclic pragmas and now successfully compiling with `--mm:orc` for better memory management. ### Fixes and Improvements