Skip to content

Commit f8c15c0

Browse files
committed
Don't install handle_error during precompilation
1 parent 6bf0d97 commit f8c15c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/context.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ function handle_error(reason::Cstring)
169169
end
170170

171171
function _install_handlers()
172+
Base.generating_output() && return
172173
handler = @cfunction(handle_error, Cvoid, (Cstring,))
173174
API.LLVMInstallFatalErrorHandler(handler)
174175
end

0 commit comments

Comments
 (0)