We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
init_julia
jl_init...
1 parent 3c7ff29 commit 8207bd6Copy full SHA for 8207bd6
src/julia_init.c
@@ -92,12 +92,11 @@ void init_julia(int argc, char **argv) {
92
set_depot_load_path(root_dir);
93
free(_sysimage_path);
94
95
- jl_options.image_file = sysimage_path;
96
#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR <= 11
+ jl_options.image_file = sysimage_path;
97
julia_init(JL_IMAGE_CWD);
98
#else
99
- jl_image_buf_t sysimage = jl_preload_sysimg(jl_options.image_file);
100
- jl_init_(sysimage);
+ jl_init_with_image_file(NULL, sysimage_path);
101
#endif
102
}
103
0 commit comments