make onoutputline callback gcsafe

This commit is contained in:
Eric 2025-01-20 17:25:21 +11:00
parent 63e4236ee0
commit b4e3e2cfc1
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ type HardhatProcess* = ref object of NodeProcess
logFile: ?IoHandle
type
OnOutputLineCaptured = proc(line: string) {.raises: [].}
OnOutputLineCaptured = proc(line: string) {.gcsafe, raises: [].}
HardhatProcess* = ref object of NodeProcess
logFile: ?IoHandle
onOutputLine: OnOutputLineCaptured