In Scala 2, given a blackbox.Context
or whitebox.Context
, we could could call c.compilerSettings
and access compiler flags and other settings.
Is there a way to achieve the same thing in Scala 3 ?
Thanks in advance !
In Scala 2, given a blackbox.Context
or whitebox.Context
, we could could call c.compilerSettings
and access compiler flags and other settings.
Is there a way to achieve the same thing in Scala 3 ?
Thanks in advance !
I searched about that for one of my projects and it seems there is no interface for this. However, you can use Java properties (-Dprop=foo
) instead.