Skip to content

Commit de3e806

Browse files
committed
Don't inline from JDK in benchmarks
to avoid scala/bug#11812
1 parent c6efc6f commit de3e806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ lazy val bench = project.in(file("test") / "benchmarks")
702702
if (benchmarkScalaVersion == "") Nil
703703
else "org.scala-lang" % "scala-compiler" % benchmarkScalaVersion :: Nil
704704
},
705-
scalacOptions ++= Seq("-feature", "-opt:l:inline", "-opt-inline-from:**")
705+
scalacOptions ++= Seq("-feature", "-opt:l:inline", "-opt-inline-from:scala.**")
706706
).settings(inConfig(JmhPlugin.JmhKeys.Jmh)(scalabuild.JitWatchFilePlugin.jitwatchSettings))
707707

708708

0 commit comments

Comments
 (0)