Skip to content

Commit

Permalink
WASI: Fix Platform.exit (apple#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo authored Nov 14, 2022
1 parent 10ee916 commit 208594a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ArgumentParser/Utilities/Platform.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ extension Platform {
#elseif canImport(CRT)
ucrt._exit(code)
#elseif canImport(WASILibc)
exit(code)
WASILibc.exit(code)
#endif
}
}
Expand Down

0 comments on commit 208594a

Please sign in to comment.