closureiters: fixes #15243 (#15454) [backport:1.2]

* fixes #15243 [backport:1.2]
This commit is contained in:
Andreas Rumpf 2020-10-02 12:38:16 +02:00 • committed by GitHub
commit aa1d7fe1e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 153 additions and 72 deletions

View file

@ -19,6 +19,13 @@ define:useStdoutAsStdmsg
styleCheck:error
@end
# die when the Nim compiler uses more than 4GB:
@if cpu32:
define:"nimMaxHeap=2000"
@else:
define:"nimMaxHeap=4000"
@end
#define:useNodeIds
#gc:markAndSweep