Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support babashka.process reload for exec fn (#1558)
* Support babashka.process reload for exec fn Exposed GraalVM `ProcessProperties/exec` signature used by babashka.process/exec. Add new `graal?` feature (on by default) to allow folks to build/use babashka without this specific Graal API. On my linux dev box bb executable increased by 8kb. Closes #1557 * Respond to PR review feedback 1. Allow all Graal ProcessProperties/exec signatures 2. Instead of a feature flag, simply check if Graal ProcessProperties class is available before including ProcessProperties/exec. I did not see the value of adding a has-graal-process-properties fn, so left that part out. Lemme know if you want/need that. * Respond to PR review feedback Because resolves can bloat GraalVM native-image size, we like to keep the together and obvious instead of buried and non-obvious.
- Loading branch information