natario107/29/2022, 4:40 PM
functions and have them exported in the final K/N binary. But looking at the file with
, I can see that the generated symbol is not exported. Is it even possible to achieve this? Maybe the export pipeline runs before
and so my symbol is useless? Or I’m doing something wrong. I’m generating my function and then calling
, something I’m a bit unsure of.
shikasd07/30/2022, 12:26 AM
Maybe the export pipeline runs before IrGeneration and so my symbol is useless?
Yes, exactly that. Consider using KSP instead, it generates source code directly and the compiler should pick it up for this case:)
natario107/30/2022, 10:24 AM