module GHC.Unit.Module.Status
( HscStatus (..)
)
where
import GHC.Prelude
import GHC.Unit
import GHC.Unit.Module.ModGuts
import GHC.Unit.Module.ModIface
import GHC.Unit.Module.ModDetails
import GHC.Utils.Fingerprint
data HscStatus
= HscNotGeneratingCode ModIface ModDetails
| HscUpToDate ModIface ModDetails
| HscUpdateBoot ModIface ModDetails
| HscUpdateSig ModIface ModDetails
| HscRecomp
{ hscs_guts :: CgGuts
, hscs_mod_location :: !ModLocation
, hscs_mod_details :: !ModDetails
, hscs_partial_iface :: !PartialModIface
, hscs_old_iface_hash :: !(Maybe Fingerprint)
}