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")