File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,15 @@ object Build {
228
228
229
229
230
230
// Bootstrap with -optimise
231
- lazy val commonOptimisedSettings = commonBootstrappedSettings ++ Seq (scalacOptions ++= Seq (" -optimise" ))
231
+ lazy val commonOptimisedSettings = commonBootstrappedSettings ++ Seq (
232
+ scalacOptions ++= Seq (" -optimise" ),
233
+
234
+ // The *-bootstrapped and *-optimised projects contain the same sources, so
235
+ // we only need to import one set in the IDE. We prefer to import the
236
+ // non-optimized projects because optimize is slower to compile and we do
237
+ // not trust its output yet.
238
+ excludeFromIDE := true
239
+ )
232
240
233
241
lazy val commonBenchmarkSettings = Seq (
234
242
mainClass in (Jmh , run) := Some (" dotty.tools.benchmarks.Bench" ), // custom main for jmh:run
You can’t perform that action at this time.
0 commit comments