This release adds GraalVM native image configuration, and fixes Linux native code.
What this means is that this is the first release that should work on both GraalVM Native Image and Scala Native, on both MacOS and Linux.
Give it a go:
- GraalVM Native Image:
scala-cli package --dep tech.neander::cue4s::0.0.6 -e 'cue4s.Prompts.sync.use(_.singleChoice("ABC?", List("a","b","c")))' --native-image -f -o image-cue4s --graalvm-args --no-fallback --install-exit-handlers
- Scala Native:
scala-cli run --dep tech.neander::cue4s::0.0.6 -e 'cue4s.Prompts.sync.use(_.singleChoice("ABC?", List("a","b","c")))' --native
What's Changed
- Start adding configuration for graal by @keynmol in #33
- Use zone allocated termios on linux by @keynmol in #34
Full Changelog: v0.0.5...v0.0.6