Skip to content

Commit 9157457

Browse files
precompile the eager_mode noop
1 parent ecaba50 commit 9157457

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/wrapper_generators.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ macro generate_wrapper_header(src_name)
1717
return $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name))
1818
end
1919
end
20+
eager_mode() = nothing
2021
if ccall(:jl_generating_output, Cint, ()) == 1
21-
Base.precompile(find_artifact_dir, ()) # to precompile this into Pkgimage
22+
# to precompile these into Pkgimage
23+
Base.precompile(find_artifact_dir, ())
24+
Base.precompile(eager_mode, ())
2225
end
23-
eager_mode() = nothing
2426
end)
2527
end
2628

0 commit comments

Comments
 (0)