Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add script to generate zinc native-images, with example usage #8036
A script to automatically create zinc native-images from pants for JVM code is currently being created in #7506. The script will infer macro usages from the compiler in an initial run with the native-image java agent, described in https://github.com/oracle/graal/blob/master/substratevm/CONFIGURE.md. This requires providing a library built from the graal repo on the runtime library search path.
A script works to generate zinc images for arbitrary scala code!