scalaVersion := "3.3.0-RC4" enablePlugins(ScalaNativePlugin) // set to Debug for compilation details (Info is default) logLevel := Level.Info // import to add Scala Native options import scala.scalanative.build._ // defaults set with common options shown nativeConfig ~= { c => c.withLTO(LTO.none) // thin .withMode(Mode.releaseFast) // releaseFast .withGC(GC.immix) // commix .withMultithreadingSupport(true) .withCompileOptions(c.compileOptions ++ Seq("-g")) } scalacOptions ++= Seq( "-explain" )