Skip to content

Commit 2eebacf

Browse files
KristofferCKristofferC
authored andcommitted
refactor the code loading of packages
1 parent e36e56b commit 2eebacf

File tree

6 files changed

+609
-594
lines changed

6 files changed

+609
-594
lines changed

base/Base.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,16 +398,17 @@ include("initdefs.jl")
398398
# worker threads
399399
include("threadcall.jl")
400400

401-
# code loading
402401
include("uuid.jl")
403-
include("pkgid.jl")
404-
include("toml_parser.jl")
405-
include("loading.jl")
406402

407403
# misc useful functions & macros
408404
include("timing.jl")
409405
include("util.jl")
410406

407+
# code loading
408+
include("pkgid.jl")
409+
include("toml_parser.jl")
410+
include("loading.jl")
411+
411412
include("asyncmap.jl")
412413

413414
# deprecated functions
@@ -503,6 +504,7 @@ function __init__()
503504
init_depot_path()
504505
init_load_path()
505506
init_active_project()
507+
init_stdlib_path_env()
506508
append!(empty!(_sysimage_modules), keys(loaded_modules))
507509
if haskey(ENV, "JULIA_MAX_NUM_PRECOMPILE_FILES")
508510
MAX_NUM_PRECOMPILE_FILES[] = parse(Int, ENV["JULIA_MAX_NUM_PRECOMPILE_FILES"])

0 commit comments

Comments
 (0)