Closed topolarity closed 1 year ago
This works around https://github.com/JuliaLang/julia/issues/48390 which is fixed for latest Julia releases, but is not available on 1.8 or prior.
This allows RuntimeGeneratedFunctions.jl to be compiled into a sysimage with --strip-metadata enabled.
--strip-metadata
The following trick should also work, and would avoid the duplication:
https://github.com/JuliaLang/JuliaSyntax.jl/blob/bd19475bb616c8344d5212a64cc434ecdd1fb5e4/src/parser_api.jl#L143
This works around https://github.com/JuliaLang/julia/issues/48390 which is fixed for latest Julia releases, but is not available on 1.8 or prior.
This allows RuntimeGeneratedFunctions.jl to be compiled into a sysimage with
--strip-metadata
enabled.