@@ -103,6 +103,7 @@ precompile(Base.CoreLogging.current_logger_for_env, (Base.CoreLogging.LogLevel,
103103precompile(Base.CoreLogging.env_override_minlevel, (Symbol, Module))
104104precompile(Base.StackTraces.lookup, (Ptr{Nothing},))
105105precompile(Tuple{typeof(Base.run_module_init), Module, Int})
106+ precompile(Tuple{Type{Base.VersionNumber}, Int32, Int32, Int32})
106107
107108# Presence tested in the tests
108109precompile(Tuple{typeof(Base.print), Base.IOStream, String})
@@ -140,6 +141,9 @@ for match = Base._methods(+, (Int, Int), -1, Base.get_world_counter())
140141end
141142empty!(Set())
142143push!(push!(Set{Union{GlobalRef,Symbol}}(), :two), GlobalRef(Base, :two))
144+ get!(ENV, "___DUMMY", "")
145+ ENV["___DUMMY"]
146+ delete!(ENV, "___DUMMY")
143147(setindex!(Dict{String,Base.PkgId}(), Base.PkgId(Base), "file.jl"))["file.jl"]
144148(setindex!(Dict{Symbol,Vector{Int}}(), [1], :two))[:two]
145149(setindex!(Dict{Base.PkgId,String}(), "file.jl", Base.PkgId(Base)))[Base.PkgId(Base)]
@@ -209,6 +213,9 @@ if Artifacts !== nothing
209213 end
210214 dlopen("libjulia$(Base. isdebugbuild () ? " -debug" : " " ) ", RTLD_LAZY | RTLD_DEEPBIND)
211215 """
216+ hardcoded_precompile_statements *= """
217+ precompile(Tuple{typeof(Artifacts._artifact_str), Module, String, Base.SubString{String}, String, Base.Dict{String, Any}, Base.SHA1, Base.BinaryPlatforms.Platform, Base.Val{Artifacts}})
218+ """
212219end
213220
214221FileWatching = get (Base. loaded_modules,
0 commit comments