From 3e9ce34b0e8ceb6db2791380c2d17993d7d5351b Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Thu, 25 Apr 2024 14:08:24 +0200 Subject: [PATCH] ensure package callbacks are invoked when no valid precompile file exists for an "auto loaded" stdlib --- base/loading.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index 86cad6f2ed94d..504f11e03224d 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -2547,7 +2547,7 @@ function require_stdlib(uuidkey::PkgId, ext::Union{Nothing, String}=nothing) run_package_callbacks(uuidkey) else # if the user deleted their bundled depot, next try to load it completely normally - newm = _require(uuidkey) + newm = _require_prelocked(uuidkey) end return newm end