Skip to content

Commit 6bb46ea

Browse files
committed
[ETCM-736] Restrict inlining to the project
1 parent 4f77ecd commit 6bb46ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ val nixBuild = sys.props.isDefinedAt("nix")
1313
val mantisDev = sys.props.get("mantisDev").contains("true") || sys.env.get("MANTIS_DEV").contains("true")
1414

1515
lazy val compilerOptimizationsForProd = Seq(
16-
"-opt:l:method", // method-local optimizations
17-
"-opt:l:inline", // inlining optimizations
18-
"-opt-inline-from:**" // inlining allowed to all classes
16+
"-opt:l:method", // method-local optimizations
17+
"-opt:l:inline", // inlining optimizations
18+
"-opt-inline-from:io.iohk.**" // inlining the project only
1919
)
2020

2121
// Releasing. https://github.com/olafurpg/sbt-ci-release

0 commit comments

Comments
 (0)