Closed PallHaraldsson closed 2 years ago
There may be other things as well, but the first thing that stands out is
fasta(n, io=stdout)
As it happens, Base.stdout
isn't staticcompiler-safe; try StaticTools.stdoutp()
instead, which returns a plain pointer to the standard output stream (n.b., this won't work with base functions, but will work with StaticTools.printf
and friends)
Thanks, that seems to have been it! It went away when I commented it out.
Actually all the write statements were commented out, so I thought stdout wouldn't do anything.
And I could also compile!
Nice!
I'm using your package, translating code for it, and have this one allocation, unless called with a low number: