Skip to content

Commit b558660

Browse files
authored
Fix settings for Scala Native optimizations
1 parent 9b8433b commit b558660

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ lazy val jsSettings = Seq(
8686
)
8787

8888
lazy val nativeSettings = Seq(
89-
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
90-
case Some((2, _)) => Seq("-P:scalanative:genStaticForwardersForNonTopLevelObjects")
91-
case _ => Seq("-scalanative-genStaticForwardersForNonTopLevelObjects")
92-
}),
89+
scalacOptions ++= Seq("-P:scalanative:genStaticForwardersForNonTopLevelObjects"),
9390
libraryDependencies ++= Seq(
9491
"io.github.cquiroz" %%% "scala-java-time-tzdb" % "2.5.0" % Test
9592
),

0 commit comments

Comments
 (0)