@@ -105,6 +105,7 @@ precompile(Base.CoreLogging.current_logger_for_env, (Base.CoreLogging.LogLevel,
105105precompile(Base.CoreLogging.env_override_minlevel, (Symbol, Module))
106106precompile(Base.StackTraces.lookup, (Ptr{Nothing},))
107107precompile(Tuple{typeof(Base.run_module_init), Module, Int})
108+ precompile(Tuple{Type{Base.VersionNumber}, Int32, Int32, Int32})
108109
109110# Presence tested in the tests
110111precompile(Tuple{typeof(Base.print), Base.IOStream, String})
@@ -142,6 +143,9 @@ for match = Base._methods(+, (Int, Int), -1, Base.get_world_counter())
142143end
143144empty!(Set())
144145push!(push!(Set{Union{GlobalRef,Symbol}}(), :two), GlobalRef(Base, :two))
146+ get!(ENV, "___DUMMY", "")
147+ ENV["___DUMMY"]
148+ delete!(ENV, "___DUMMY")
145149(setindex!(Dict{String,Base.PkgId}(), Base.PkgId(Base), "file.jl"))["file.jl"]
146150(setindex!(Dict{Symbol,Vector{Int}}(), [1], :two))[:two]
147151(setindex!(Dict{Base.PkgId,String}(), "file.jl", Base.PkgId(Base)))[Base.PkgId(Base)]
@@ -211,6 +215,9 @@ if Artifacts !== nothing
211215 end
212216 dlopen("libjulia$(Base. isdebugbuild () ? " -debug" : " " ) ", RTLD_LAZY | RTLD_DEEPBIND)
213217 """
218+ hardcoded_precompile_statements *= """
219+ precompile(Tuple{typeof(Artifacts._artifact_str), Module, String, Base.SubString{String}, String, Base.Dict{String, Any}, Base.SHA1, Base.BinaryPlatforms.Platform, Base.Val{Artifacts}})
220+ """
214221end
215222
216223FileWatching = get (Base. loaded_modules,
0 commit comments