Exporting a `RuntimeGeneratedFunction`

The problem is likely the mix with precompilation, where you need to do something like this: