ghc-9.12.0.20241114: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Linker.Unit

Description

Linking Haskell units

Synopsis

Documentation

data UnitLinkOpts Source #

Linker flags collected from units

Constructors

UnitLinkOpts 

Fields

Instances

Instances details
Show UnitLinkOpts Source # 
Instance details

Defined in GHC.Linker.Unit

getUnitLinkOpts :: GhcNameVersion -> Ways -> 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)