Skip to content

Commit c22adc0

Browse files
authored
call Pkg precompile hook in latest world (#51397)
Fixes #51280.
1 parent 151ef23 commit c22adc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ function _require(pkg::PkgId, env=nothing)
19611961
pkg_precompile_attempted = true
19621962
unlock(require_lock)
19631963
try
1964-
PKG_PRECOMPILE_HOOK[](pkg.name, _from_loading = true)
1964+
@invokelatest PKG_PRECOMPILE_HOOK[](pkg.name, _from_loading = true)
19651965
finally
19661966
lock(require_lock)
19671967
end

0 commit comments

Comments
 (0)