Skip to content

Commit

Permalink
Merge pull request #812 from iRevive/native-links-limit
Browse files Browse the repository at this point in the history
  • Loading branch information
iRevive authored Oct 24, 2024
2 parents f6d921d + 1eb9d8b commit 8d7bf61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ ThisBuild / tlSonatypeUseLegacyHost := false
// publish website from this branch
ThisBuild / tlSitePublishBranch := Some("main")

// VM runs out of memory when linking multiple targets concurrently, hence limit it
Global / concurrentRestrictions += Tags.limit(NativeTags.Link, 1)

lazy val scalafixSettings = Seq(
semanticdbOptions ++= Seq("-P:semanticdb:synthetics:on").filter(_ => !tlIsScala3.value)
)
Expand Down

0 comments on commit 8d7bf61

Please sign in to comment.