Skip to content

Commit 2cdb2f1

Browse files
author
KristofferC
committed
do not put project stdlibs into the base (non-incremental) sysimage
There is no need to do this, the stdlibs used by the project will be included when the final sysimage is built
1 parent 46ed4a5 commit 2cdb2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PackageCompiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ function create_sysimage(packages::Union{Nothing, Symbol, Vector{String}, Vector
594594
if base_sysimage !== nothing
595595
error("cannot specify `base_sysimage` when `incremental=false`")
596596
end
597-
sysimage_stdlibs = filter_stdlibs ? gather_stdlibs_project(ctx) : stdlibs_in_sysimage()
597+
sysimage_stdlibs = filter_stdlibs ? String[] : stdlibs_in_sysimage()
598598
base_sysimage = create_fresh_base_sysimage(sysimage_stdlibs; cpu_target, sysimage_build_args)
599599
else
600600
base_sysimage = something(base_sysimage, unsafe_string(Base.JLOptions().image_file))

0 commit comments

Comments
 (0)