seeing home module dependencies

Daniel Gröber dxld at darkboxed.org
Tue Aug 27 17:48:41 UTC 2019


Hi,

On Tue, Aug 27, 2019 at 06:35:03PM +0100, Sam Halliday wrote:
> 1. Is there a way to tell ghc to prefer interface files instead of
>    source files, if it finds them, for a TargetModule?

I think targetAllowObjCode=True [1] should do that. If you're using
gussTarget and your module name doesn't have a '*' at the beginning
that should be the default though.

[1]: https://hackage.haskell.org/package/ghc-8.6.5/docs/GHC.html#v:targetAllowObjCode

--Daniel


More information about the ghc-devs mailing list