make onoutputline callback gcsafe

This commit is contained in:
Eric 2025-01-20 17:25:21 +11:00
parent 33340bd430
commit 4b62a0baf2
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