Does anyone know off the top of their head what th...
# general
a
Does anyone know off the top of their head what the
sbt
--zinc-cache-dir
flag is used for? It seems to point at a dir which gets populated with a single jar file called compiler-interface with some
xsbt
-namespaced classes in it…
Oh, /me reads a comment which describes it
Can someone flesh out https://github.com/pantsbuild/pants/issues/6155 with a little detail, if they know it? AFAICT we’d need to release a jar per {scala version, zinc version, compiler-interface version, compiler-bridge version} combination. Looks like scala version and compiler bridge are tied, but that’s still three variables…
@witty-crayon-22786 @happy-kitchen-89482 ^^
w
hm, i'm misunderstanding something... those tools are all fetched via ivy before we begin the compile
including zinc itself.
i didn't think that was changing here...?
(although zinc-the-library supports doing network access to resolve them, our wrapper passes them in explicitly)
h
Yeah but I think scalac compiles the compiler interface on first run, no?
Something like that? It’s all very vague to me at this point
w
....ooooh. yes.
oof
a
@witty-crayon-22786 Does that oof mean you have enough context to fill in the ticket? 😄
w
yea.
a
Thanks!
w
commented
added a bit more detail
a
Thanks!