Skip to content

Commit beed4d1

Browse files
committed
Update Zinc ClassPathOptionsUtil to use noboot, which handles Scala 2.13 and 3 better
1 parent e2e9dba commit beed4d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/scala/higherkindness/rules_scala/workers/zinc/compile/ZincRunner.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,12 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] {
224224
.scalaCompiler(scalaInstance, workRequest.compilerBridge)
225225
.withClassLoaderCache(classloaderCache)
226226
lastCompiler = scalaCompiler
227-
ZincUtil.compilers(scalaInstance, ClasspathOptionsUtil.boot, None, scalaCompiler)
227+
ZincUtil.compilers(
228+
scalaInstance,
229+
ClasspathOptionsUtil.noboot(scalaInstance.actualVersion),
230+
None,
231+
scalaCompiler,
232+
)
228233
}
229234

230235
val lookup = {

0 commit comments

Comments
 (0)