diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-07-15 17:58:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 17:58:47 +0200 |
commit | af3d2d8ad90c31161c34f0d4f82cd0ac4a9b3d00 (patch) | |
tree | 24e40815489abb750b4a9c6ca6e46bea7c8f94dc /tests/arc | |
parent | 8c6dd2b9a9157c0e0bd822d8a80d1014fc87ecd7 (diff) | |
download | Nim-af3d2d8ad90c31161c34f0d4f82cd0ac4a9b3d00.tar.gz |
added `nimAllocPagesViaMalloc` switch (#18490)
* added switch * alloc.nim needs page aligned memory blocks
Diffstat (limited to 'tests/arc')
-rw-r--r-- | tests/arc/tarcmisc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/tarcmisc.nim b/tests/arc/tarcmisc.nim index 5d5d8e914..7daea62c8 100644 --- a/tests/arc/tarcmisc.nim +++ b/tests/arc/tarcmisc.nim @@ -34,7 +34,7 @@ closed destroying variable: 20 destroying variable: 10 ''' - cmd: "nim c --gc:arc --deepcopy:on $file" + cmd: "nim c --gc:arc --deepcopy:on -d:nimAllocPagesViaMalloc $file" """ proc takeSink(x: sink string): bool = true |