Skip to content

v0.0.6

Latest
Compare
Choose a tag to compare
@keynmol keynmol released this 06 Dec 10:47
· 2 commits to main since this release
0386c93

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:

  1. 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
  2. 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