ghc-9.15: The GHC API
Safe HaskellNone
LanguageGHC2024

GHC.Linker.Unit

Description

Linking Haskell units

Synopsis

Documentation

data UnitLinkOpts Source #

Linker flags collected from units

Constructors

UnitLinkOpts 

Fields

getUnitLinkOpts :: GhcNameVersion -> Ways -> Maybe (ExecutableLinkMode, Bool, Platform) -> UnitEnv -> [UnitId] -> IO UnitLinkOpts Source #

Find all the link options in these and the preload packages, returning (package hs lib options, extra library options, other flags)