Skip to content

Commit

Permalink
call Pkg precompile hook in latest world (#51397)
Browse files Browse the repository at this point in the history
Fixes #51280.

(cherry picked from commit c22adc0)
  • Loading branch information
KristofferC authored and nalimilan committed Nov 5, 2023
1 parent 51ff820 commit 17d4bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ function _require(pkg::PkgId, env=nothing)
pkg_precompile_attempted = true
unlock(require_lock)
try
PKG_PRECOMPILE_HOOK[](pkg.name, _from_loading = true)
@invokelatest PKG_PRECOMPILE_HOOK[](pkg.name, _from_loading = true)
finally
lock(require_lock)
end
Expand Down

0 comments on commit 17d4bba

Please sign in to comment.