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.
  • Loading branch information
KristofferC authored Sep 20, 2023
1 parent 151ef23 commit c22adc0
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 @@ -1961,7 +1961,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 c22adc0

Please sign in to comment.