Skip to content

Commit 8cee071

Browse files
rm old hook (#4342)
1 parent 1bb49bd commit 8cee071

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Pkg.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -896,11 +896,6 @@ using Pkg, Test
896896
const is_manifest_current = API.is_manifest_current
897897

898898
function __init__()
899-
if !isassigned(Base.PKG_PRECOMPILE_HOOK)
900-
# allows Base to use Pkg.precompile during loading
901-
# disable via `Base.PKG_PRECOMPILE_HOOK[] = Returns(nothing)`
902-
Base.PKG_PRECOMPILE_HOOK[] = precompile
903-
end
904899
OFFLINE_MODE[] = Base.get_bool_env("JULIA_PKG_OFFLINE", false)
905900
_auto_gc_enabled[] = Base.get_bool_env("JULIA_PKG_GC_AUTO", true)
906901
return nothing

0 commit comments

Comments
 (0)