import strutil proc kmain {.exportc.} = printTxt(cast[seq[char]]("hello world\n"))