Open MasonProtter opened 7 months ago
Ah, damn. This breaks the idea that statically compiled executables return exit codes. :(
Also, it looks like mixtape.jl came back by accident.
Hmm, interesting
So the thing we need here is to make the ccall return Union{}
. Latest master has a way of doing what we do with symbolcall but correctly via ccall. Though it hasn't been plumbed through GPUCompiler just yet. It being https://github.com/JuliaLang/julia/pull/51123
Ref conversation in https://github.com/tshort/StaticCompiler.jl/issues/145. The idea is that adding a
::Union{}
here lets the compiler know that it can removethrow
calls. E.g. compareagainst