Skip to content

Commit 8c77017

Browse files
IanButterworthKristofferC
authored andcommitted
Fix precompilepkgs warn loaded setting (#58978)
(cherry picked from commit 107e1ac)
1 parent 69bfb6b commit 8c77017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/precompilation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ function _precompilepkgs(pkgs::Vector{String},
892892
flags, cacheflags = config
893893
task = @async begin
894894
try
895-
loaded = haskey(Base.loaded_modules, pkg)
895+
loaded = warn_loaded && haskey(Base.loaded_modules, pkg)
896896
for dep in deps # wait for deps to finish
897897
wait(was_processed[(dep,config)])
898898
end

0 commit comments

Comments
 (0)