scala-native-async-tests/build.sbt

23 lines
526 B
Plaintext
Raw Permalink Normal View History

2023-05-22 16:16:02 +00:00
scalaVersion := "3.3.0-RC4"
2023-05-17 13:29:52 +00:00
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"
)