Skip to content

Commit 038f404

Browse files
committed
Add a bit of precompilation
1 parent f199db0 commit 038f404

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CodeTracking.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,8 @@ were loaded to define the package that defined `mod`.
201201
"""
202202
pkgfiles(mod::Module) = pkgfiles(PkgId(mod))
203203

204+
if ccall(:jl_generating_output, Cint, ()) == 1
205+
precompile(Tuple{typeof(setindex!), Dict{PkgId,PkgFiles}, PkgFiles, PkgId})
206+
end
207+
204208
end # module

0 commit comments

Comments
 (0)