Skip to content

Commit 9433788

Browse files
IanButterworthKristofferC
authored andcommitted
Fix precompilepkgs warn loaded setting (#58978)
(cherry picked from commit 107e1ac)
1 parent c3f2974 commit 9433788

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
@@ -920,7 +920,7 @@ function _precompilepkgs(pkgs::Vector{String},
920920
flags, cacheflags = config
921921
task = @async begin
922922
try
923-
loaded = haskey(Base.loaded_modules, pkg)
923+
loaded = warn_loaded && haskey(Base.loaded_modules, pkg)
924924
for dep in deps # wait for deps to finish
925925
wait(was_processed[(dep,config)])
926926
end

0 commit comments

Comments
 (0)