make -d:nimQuirky work with devel

This commit is contained in:
Andreas Rumpf
2019-04-20 22:16:22 +02:00
parent 5edc5fc650
commit 375b444ecd
2 changed files with 3 additions and 1 deletions

View File

@@ -148,4 +148,4 @@ proc rawWrite*(f: CFilePtr, s: cstring) {.compilerproc, nonreloadable, inline.}
# we cannot throw an exception here!
discard c_fwrite(s, 1, s.len, f)
{.pop}
{.pop.}

View File

@@ -10,6 +10,8 @@ when hostOS == "standalone":
panic(arg)
elif defined(nimQuirky) and not defined(nimscript):
import ansi_c
proc name(t: typedesc): string {.magic: "TypeTrait".}
proc sysFatal(exceptn: typedesc, message, arg: string) {.inline, noReturn.} =