mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
abort is noreturn (#12061)
This commit is contained in:
committed by
Andreas Rumpf
parent
1ccff0324c
commit
66a8856152
@@ -30,7 +30,7 @@ proc c_strcmp*(a, b: cstring): cint {.
|
||||
proc c_strlen*(a: cstring): csize {.
|
||||
importc: "strlen", header: "<string.h>", noSideEffect.}
|
||||
proc c_abort*() {.
|
||||
importc: "abort", header: "<stdlib.h>", noSideEffect.}
|
||||
importc: "abort", header: "<stdlib.h>", noSideEffect, noreturn.}
|
||||
|
||||
|
||||
when defined(linux) and defined(amd64):
|
||||
|
||||
Reference in New Issue
Block a user