Thanks for the answer! Unfortunately my file is quite big (50mb), so the VM bails out on the `escape` call.
Do you reckon there is a way to make the string literal of the binary work? I have tried various methods with C preprocessor macros, like: let omni_tar {.importc, nodecl.}: cstring {.emit: """#define MULTI_LINE_STRING(...) #__VA_ARGS__"""} {.emit: ["""__attribute__((section("DATA,.omni_tar"))) const char* omni_tar = MULTI_LINE_STRING(""", staticRead("build/omni.tar.xz").static, ");" ].} Run which is not working since the binary data contains parenthesis `)` that are not escaped, making the macro actually ending before the end of the file.