Closed anke1460 closed 1 year ago
There’s nothing we can do about this without knowing what test
does.
My test code:
using DataFramesMeta, DataFrames, CSV, StaticCompiler
function test(params)
if params["bq"] == "1"
......
else
.....
end
dsm = DataFrame(params["data"])
......
mjkn = Dict()
for i =1:16
msnc = Dict()
if length(rds[i]) !== 0
a = i-1
smdw = fmin(rds[i])
msnc = Dict(a=>smdw)
end
mjkn = merge(mjkn,msnc)
end
return(mjkn)
end
Heap allocations are not yet supported. See this section: https://github.com/tshort/StaticCompiler.jl#limitations
Hey, i run my code :
compile_executable(test, (), "./")
raise
I can run this demo code
compile_executable(hello, (), "./")
and worksMy clang: