We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5206f93 commit 4409d44Copy full SHA for 4409d44
contrib/generate_precompile.jl
@@ -13,6 +13,9 @@ CTRL_C = '\x03'
13
UP_ARROW = "\e[A"
14
DOWN_ARROW = "\e[B"
15
16
+hardcoded_precompile_statements = """
17
+precompile(Tuple{typeof(Base.stale_cachefile), String, String})"""
18
+
19
precompile_script = """
20
2+2
21
print("")
@@ -152,6 +155,10 @@ function generate_precompile_statements()
152
155
push!(statements, statement)
153
156
end
154
157
158
+ for statement in split(hardcoded_precompile_statements, '\n')
159
+ push!(statements, statement)
160
+ end
161
162
# Create a staging area where all the loaded packages are available
163
PrecompileStagingArea = Module()
164
for (_pkgid, _mod) in Base.loaded_modules
0 commit comments