This separates the generate_obj that compile uses from the generate_obj that all the standalone functions use, and rearranges stuff for a bit less code repetition.
Also, I mocked up support for the request in https://github.com/tshort/StaticCompiler.jl/issues/93, but I still am not really convinced that it makes any sense to have multiple functions going into compile_executable.
This separates the
generate_obj
thatcompile
uses from thegenerate_obj
that all the standalone functions use, and rearranges stuff for a bit less code repetition.Also, I mocked up support for the request in https://github.com/tshort/StaticCompiler.jl/issues/93, but I still am not really convinced that it makes any sense to have multiple functions going into
compile_executable
.