Segmentation fault in executable after compilation with juliac including --trim --experimental arguments

Does this workaround also hold for when other packages are used (using or importing them)? See my description here: Creating fully self-contained and pre-compiled library - #14 by asprionj.

Would these be added inside the Module, I assume? And also added to an environment of which the path to Project.toml would be specified to the julia --project=<path> juliac.jl ... call?