Passing -bootclasspath /path/to/scala-library.jar to the Scala compiler is only done for historical reasons. Putting the Scala library on the ordinary classspath is equivalent.
This commit adds a noboot factory for ClasspathOptions which doesn't use -bootclasspath for Scala 2.13 and Scala 3.
Passing
-bootclasspath /path/to/scala-library.jar
to the Scala compiler is only done for historical reasons. Putting the Scala library on the ordinary classspath is equivalent.This commit adds a
noboot
factory for ClasspathOptions which doesn't use-bootclasspath
for Scala 2.13 and Scala 3.This change was made in the context of SIP-51, unfreeze the Scala library / https://github.com/sbt/sbt/pull/7480, but it's just a cleanup and not actually required.