Skip to content

Commit 41264e4

Browse files
committed
Add more pkg-related precompile statements
1 parent 4409d44 commit 41264e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

contrib/generate_precompile.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ UP_ARROW = "\e[A"
1414
DOWN_ARROW = "\e[B"
1515

1616
hardcoded_precompile_statements = """
17-
precompile(Tuple{typeof(Base.stale_cachefile), String, String})"""
17+
precompile(Tuple{typeof(Base.stale_cachefile), String, String})
18+
precompile(Tuple{typeof(push!), Set{Module}, Module})
19+
precompile(Tuple{typeof(push!), Set{Method}, Method})
20+
precompile(Tuple{typeof(push!), Set{Base.PkgId}, Base.PkgId})
21+
precompile(Tuple{typeof(setindex!), Dict{String,Base.PkgId}, Base.PkgId, String})
22+
"""
1823

1924
precompile_script = """
2025
2+2

0 commit comments

Comments
 (0)