Skip to content

Commit 4defc03

Browse files
committed
update Build.scala classpathOptions
1 parent 7083051 commit 4defc03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

project/Build.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,12 @@ object Build {
258258
// Settings used when compiling dotty (both non-bootstrapped and bootstrapped)
259259
lazy val commonDottySettings = commonSettings ++ Seq(
260260
// Manually set the standard library to use
261-
autoScalaLibrary := false
261+
autoScalaLibrary := false,
262+
classpathOptions ~= (old =>
263+
old
264+
.withAutoBoot(false) // no library on the compiler bootclasspath - we may need a more recent version
265+
.withFilterLibrary(false) // ...instead, we put it on the compiler classpath
266+
),
262267
)
263268

264269
lazy val commonScala2Settings = commonSettings ++ Seq(

0 commit comments

Comments
 (0)