Skip to content

Commit 910ee8a

Browse files
committed
Fix #4951: Increase test stack size before bootstrap
To test, use `testCompilation inductive-implicits-bench` before and after, locally.
1 parent 33afaa2 commit 910ee8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

project/Build.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,9 @@ object Build {
718718
TestFrameworks.JUnit,
719719
"--exclude-categories=dotty.BootstrappedOnlyTests",
720720
),
721+
// increase stack size for non-bootstrapped compiler, because some code
722+
// is only tail-recursive after bootstrap
723+
javaOptions in Test += "-Xss2m"
721724
)
722725

723726
lazy val bootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq(

0 commit comments

Comments
 (0)