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.
1 parent 543e8da commit 40bbf2fCopy full SHA for 40bbf2f
src/julia_init.c
@@ -93,7 +93,12 @@ void init_julia(int argc, char **argv) {
93
free(_sysimage_path);
94
95
jl_options.image_file = sysimage_path;
96
+#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR <= 11
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);
101
+#endif
102
}
103
104
void shutdown_julia(int retcode) { jl_atexit_hook(retcode); }
0 commit comments