Skip to content

Commit

Permalink
Update ExitTest.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-yuji authored Dec 18, 2024
1 parent b570887 commit 608341f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Testing/ExitTests/ExitTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ extension ExitTest {
// As with Linux, disable the generation core files. FreeBSD does not, as
// far as I can tell, special-case RLIMIT_CORE=1.
var rl = rlimit(rlim_cur: 0, rlim_max: 0)
_ = setrlimit(CInt(RLIMIT_CORE), &rl)
_ = setrlimit(RLIMIT_CORE, &rl)
#elseif os(Windows)
// On Windows, similarly disable Windows Error Reporting and the Windows
// Error Reporting UI. Note we expect to be the first component to call
Expand Down

0 comments on commit 608341f

Please sign in to comment.