added nimAllocPagesViaMalloc switch (#18490)
* added switch * alloc.nim needs page aligned memory blocks
This commit is contained in:
parent
8c6dd2b9a9
commit
af3d2d8ad9
5 changed files with 46 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue