From a6a3edb1219ab8719694f722f8ad47a5104fb706 Mon Sep 17 00:00:00 2001 From: Grant Nelson Date: Tue, 26 Mar 2024 15:45:09 -0600 Subject: [PATCH] Added exit code param to runtime_beforeExit --- compiler/natives/src/os/os.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/natives/src/os/os.go b/compiler/natives/src/os/os.go index a45e13508..4adf5bb6e 100644 --- a/compiler/natives/src/os/os.go +++ b/compiler/natives/src/os/os.go @@ -30,7 +30,7 @@ func init() { } } -func runtime_beforeExit() {} +func runtime_beforeExit(exitCode int) {} func executable() (string, error) { return "", errors.New("Executable not implemented for GOARCH=js")