no regrets

This commit is contained in:
araq
2025-11-19 11:33:36 +01:00
parent 51028a828d
commit 65e0c9abc3

View File

@@ -1802,6 +1802,8 @@ const NimStackTrace = compileOption("stacktrace")
const
usesDestructors = defined(gcDestructors) or defined(gcHooks)
include "system/gc_interface"
when notJSnotNims:
proc setControlCHook*(hook: proc () {.noconv.}) {.raises: [], gcsafe.}
## Allows you to override the behaviour of your application when CTRL+C
@@ -1978,8 +1980,6 @@ proc `<`*[T: tuple](x, y: T): bool =
return false
include "system/gc_interface"
import system/coro_detection
{.push checks: off.}