Skip to content

Commit

Permalink
refactor the code loading of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and KristofferC committed Sep 12, 2022
1 parent e36e56b commit 2eebacf
Show file tree
Hide file tree
Showing 6 changed files with 609 additions and 594 deletions.
10 changes: 6 additions & 4 deletions base/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -398,16 +398,17 @@ include("initdefs.jl")
# worker threads
include("threadcall.jl")

# code loading
include("uuid.jl")
include("pkgid.jl")
include("toml_parser.jl")
include("loading.jl")

# misc useful functions & macros
include("timing.jl")
include("util.jl")

# code loading
include("pkgid.jl")
include("toml_parser.jl")
include("loading.jl")

include("asyncmap.jl")

# deprecated functions
Expand Down Expand Up @@ -503,6 +504,7 @@ function __init__()
init_depot_path()
init_load_path()
init_active_project()
init_stdlib_path_env()
append!(empty!(_sysimage_modules), keys(loaded_modules))
if haskey(ENV, "JULIA_MAX_NUM_PRECOMPILE_FILES")
MAX_NUM_PRECOMPILE_FILES[] = parse(Int, ENV["JULIA_MAX_NUM_PRECOMPILE_FILES"])
Expand Down
Loading

0 comments on commit 2eebacf

Please sign in to comment.