Skip to content

Commit

Permalink
Update svm to 22.2.0 (#152)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Archambault <alexandre.archambault@gmail.com>
  • Loading branch information
scala-steward and alexarchambault authored Aug 15, 2022
1 parent e5cbf25 commit 5d2ec0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/ammrunner/Command.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ object Command {


private object Graalvm {
import com.oracle.svm.core.headers.Errno
import com.oracle.svm.core.posix.headers.Unistd
import com.oracle.svm.core.headers.LibC
import com.oracle.svm.core.posix.headers.{Errno, Unistd}
import org.graalvm.nativeimage.c.`type`.CTypeConversion

def execv(argc: String, argv: Seq[String]): Unit = {
Expand All @@ -94,7 +94,7 @@ object Command {
val argv0 = CTypeConversion.toCStrings(argv.toArray)

Unistd.execv(argc0.get(), argv0.get())
val err = Errno.errno()
val err = LibC.errno()
val desc = CTypeConversion.toJavaString(Errno.strerror(err))
throw new Exception(s"Error running $argc ${argv.mkString(" ")}: $desc")
}
Expand Down
2 changes: 1 addition & 1 deletion project/Deps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Deps {
def coursierLauncher = "io.get-coursier" %% "coursier-launcher" % "2.0.16"
def dataClass = "io.github.alexarchambault" %% "data-class" % "0.2.6"
def macroParadise = "org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full
def svm = "org.graalvm.nativeimage" % "svm" % "19.3.6"
def svm = "org.graalvm.nativeimage" % "svm" % "22.2.0"
def utest = setting {
val sv = scalaVersion.value
val ver =
Expand Down

0 comments on commit 5d2ec0f

Please sign in to comment.