diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2019-08-27 14:27:44 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-08-27 14:27:44 +0200 |
commit | 66a885615242ca45c19a4efa169ee1296de5061e (patch) | |
tree | a651ab75ebf21c23df05cd0a6414133dfe62cb92 /lib | |
parent | 1ccff0324c74051da445852b31932aa2bbdb0c7a (diff) | |
download | Nim-66a885615242ca45c19a4efa169ee1296de5061e.tar.gz |
abort is noreturn (#12061)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/ansi_c.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim index 76c78a3b9..16e7a14d6 100644 --- a/lib/system/ansi_c.nim +++ b/lib/system/ansi_c.nim @@ -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): |