clj-easy / graal-build-time

Initialize Clojure classes at build time with GraalVM native-image
MIT License
130 stars 5 forks source link

test: use -o instead of experimental native-image opts #39

Closed lread closed 4 months ago

lread commented 4 months ago

To get rid of the noise of warnings from native-image, like:

Warning: The option '-H:Path=target' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:Name=hello-world-classes' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.

And:

 2 experimental option(s) unlocked:
 - '-H:Name' (alternative API option(s): -o hello-world-classes; origin(s): command line)
 - '-H:Path': Use the '-o' option instead. (origin(s): command line)

I will make updates to follow the advice given.