Skip to content

Commit

Permalink
precompile find_artifact_dir (JuliaPackaging#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored and contra-bit committed Jul 10, 2024
1 parent 67896c5 commit 395c146
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wrapper_generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ macro generate_wrapper_header(src_name)
return $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name))
end
end
if ccall(:jl_generating_output, Cint, ()) == 1
find_artifact_dir() # to precompile this into Pkgimage
end
end)
end

Expand Down

0 comments on commit 395c146

Please sign in to comment.