make tests green again
This commit is contained in:
parent
fb878330a9
commit
f36a61e6d4
1 changed files with 1 additions and 1 deletions
|
|
@ -3416,7 +3416,7 @@ template newException*(exceptn: typedesc, message: string;
|
|||
e.parent = parentException
|
||||
e
|
||||
|
||||
when defined(nogc):
|
||||
when hostOS == "standalone" and defined(nogc):
|
||||
proc nimToCStringConv(s: NimString): cstring {.compilerProc, inline.} =
|
||||
if s == nil or s.len == 0: result = cstring""
|
||||
else: result = cstring(addr s.data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue