Skip to content

Commit

Permalink
Extend loaded_precompiles fix to 1.11
Browse files Browse the repository at this point in the history
The base commit got backported in rc. Should fix #832.
  • Loading branch information
Keno committed Jul 30, 2024
1 parent a7ebcfa commit 1e86ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function parse_pkg_files(id::PkgId)
@assert reqs !== nothing
pkgdata.requirements = reqs
for chi in includes
if VERSION >= v"1.12.0-DEV.764" && haskey(Base.loaded_precompiles, id => buildid)
if isdefined(Base, :loaded_precompiles) && haskey(Base.loaded_precompiles, id => buildid)
mod = Base.loaded_precompiles[id => buildid]
else
mod = Base.root_module(id)
Expand Down

0 comments on commit 1e86ffb

Please sign in to comment.