contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)
This commit is contained in:
parent
4cbeddddcc
commit
981ffc912e
10 changed files with 23 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim c -d:allocStats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''0
|
||||
(allocCount: 6, deallocCount: 6)'''
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim c -d:allocStats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''hi
|
||||
ho
|
||||
ha
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim cpp -d:allocStats --newruntime --threads:on $file'''
|
||||
cmd: '''nim cpp -d:nimAllocStats --newruntime --threads:on $file'''
|
||||
output: '''(field: "value")
|
||||
Indeed
|
||||
axc
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
valgrind: true
|
||||
cmd: '''nim c -d:allocStats --newruntime -d:useMalloc $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime -d:useMalloc $file'''
|
||||
output: '''
|
||||
@[(input: @["KXSC", "BGMC"]), (input: @["PXFX"]), (input: @["WXRQ", "ZSCZD"])]'''
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim c -d:allocStats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''a b
|
||||
70
|
||||
hello
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
valgrind: true
|
||||
cmd: '''nim c -d:allocStats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''OK 3
|
||||
(allocCount: 8, deallocCount: 3)'''
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim c -d:allocstats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''button
|
||||
clicked!
|
||||
(allocCount: 4, deallocCount: 4)'''
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: '''nim c -d:allocStats --newruntime $file'''
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''button
|
||||
clicked!
|
||||
(allocCount: 9, deallocCount: 9)'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue