Skip to content

Commit 67e2b6a

Browse files
authored
Merge pull request #4992 from dotty-staging/more-stack
Fix #4951: Increase stack size before bootstrap to reduce tests flakyness
2 parents a8818cc + 910ee8a commit 67e2b6a

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)