ghc-9.0.2: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Settings

Contents

Description

Run-time settings

Synopsis

Documentation

data ToolSettings Source #

Settings for other executables GHC calls.

Probably should further split down by phase, or split between platform-specific and platform-agnostic.

Constructors

ToolSettings 

Fields

data FileSettings Source #

Paths to various files and directories used by GHC, including those that provide more settings.

data GhcNameVersion Source #

Settings for what GHC this is.

data PlatformConstants Source #

Constructors

PlatformConstants 

Fields

data Platform Source #

Contains enough information for the native code generator to emit code for this platform.

Constructors

Platform 

Fields

Instances

Instances details
Read Platform 
Instance details

Defined in GHC.Platform

Show Platform 
Instance details

Defined in GHC.Platform

Eq Platform 
Instance details

Defined in GHC.Platform

data PlatformMisc Source #

Platform-specific settings formerly hard-coded in Config.hs.

These should probably be all be triaged whether they can be computed from other settings or belong in another another place (like Platform above).

data PlatformMini Source #

Contains the bare-bones arch and os information. This isn't enough for code gen, but useful for tasks where we can fall back upon the host platform, as this is all we know about the host platform.

Accessors