Skip to content

Commit 0285af6

Browse files
authored
Merge pull request #1281 from Workiva/fixRuntimeBeforeExit
[go1.20] Update runtime_beforeExit to have exit code parameter.
2 parents 32a8a96 + a6a3edb commit 0285af6

File tree

1 file changed

+1
-1
lines changed
  • compiler/natives/src/os

1 file changed

+1
-1
lines changed

compiler/natives/src/os/os.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func init() {
3030
}
3131
}
3232

33-
func runtime_beforeExit() {}
33+
func runtime_beforeExit(exitCode int) {}
3434

3535
func executable() (string, error) {
3636
return "", errors.New("Executable not implemented for GOARCH=js")

0 commit comments

Comments
 (0)