-
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It bumps the version of Zinc but it does not take advantage of the new Zinc features: VirtualFiles and Stamps. A few remarks: * The zinc compiler-interface now depends on the Scala library. It cannot be loaded globally in the ZincWorkerModule anymore. So it is loaded once for each scala version. * Zinc cannot reuse the compiler bridges compiled by older version of Mill. So I classified them by the version of Zinc. The compiler bridge is now stored in out/mill/scalalib/ZincWorkerModule/worker/dest/zinc-<zincVersion>/<scalaVersion>. * The current version of Zinc is incompatible with 2.12.0 but not with 2.12.1. * The compiler bridge now depends on its resources to load itself Commits: * Bump zinc to 1.4.4 * Override scala-library in compiler-interface classpath * Copy resources when compiling bridge * Classify Zinc workers by zinc version Each version of zinc comes with its own compiler bridges on every version of Scala. Given that two different versions of Mill can use two different versions of Zinc we must classify zinc workers by zinc version (in addition to scala version). * Zinc 1.4.x is incompatible with 2.12.0 * Add error message for Scala 2.12.0 Pull request: #1094
- Loading branch information
Showing
4 changed files
with
104 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters