Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

Nim

Compiler

nim 1.6.0

Options
Raw compiler options
--gc:arc

Author

anonymous

over 3 years ago

$ nim c ./prog.nim --gc:arc
Hint: used config file '/opt/wandbox/nim-1.6.0/config/nim.cfg' [Conf]
Hint: used config file '/opt/wandbox/nim-1.6.0/config/config.nims' [Conf]
.......................................................
/home/jail/prog.nim(17, 7) Hint: 'f' is declared but not used [XDeclaredButNotUsed]
CC: stdlib_digitsutils.nim
CC: stdlib_dollars.nim
CC: stdlib_io.nim
CC: stdlib_system.nim
CC: prog.nim
Hint:  [Link]
Hint: gc: arc; opt: none (DEBUG BUILD, `-d:release` generates faster code)
24948 lines; 0.310s; 25.422MiB peakmem; proj: /home/jail/prog.nim; out: /home/jail/prog [SuccessX]
A
Creating amy.
B
Destroying amy.
C
----------------------------------
A
Creating bob.
B
C
D
Destroying bob.
E
Exit Code:
0