diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-10-27 03:12:01 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-27 13:30:15 -0400 |
commit | 9d577ea118e362a50db5713378e097f4f92aa77f (patch) | |
tree | 6df3a1cfd8f04cb248ad30646195fe242e89ef21 /compiler/GHC/Settings.hs | |
parent | 9bd6daa4af5893b9da97e75060248a8c2faf3b0b (diff) | |
download | haskell-9d577ea118e362a50db5713378e097f4f92aa77f.tar.gz |
Compiler dosen't need to know about certain settings from file
- RTS and libdw
- SMP
- RTS ways
I am leaving them in the settings file because `--info` currently prints
all the fields in there, but in the future I do believe we should
separate the info GHC actually needs from "extra metadata". The latter
could go in `+RTS --info` and/or a separate file that ships with the RTS
for compile-time inspection instead.
Diffstat (limited to 'compiler/GHC/Settings.hs')
-rw-r--r-- | compiler/GHC/Settings.hs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/GHC/Settings.hs b/compiler/GHC/Settings.hs index f86fd9641d..73f3b97b54 100644 --- a/compiler/GHC/Settings.hs +++ b/compiler/GHC/Settings.hs @@ -58,10 +58,7 @@ module GHC.Settings , sExtraGccViaCFlags , sTargetPlatformString , sGhcWithInterpreter - , sGhcWithSMP - , sGhcRTSWays , sLibFFI - , sGhcRtsWithLibdw ) where import GHC.Prelude @@ -268,11 +265,5 @@ sTargetPlatformString :: Settings -> String sTargetPlatformString = platformMisc_targetPlatformString . sPlatformMisc sGhcWithInterpreter :: Settings -> Bool sGhcWithInterpreter = platformMisc_ghcWithInterpreter . sPlatformMisc -sGhcWithSMP :: Settings -> Bool -sGhcWithSMP = platformMisc_ghcWithSMP . sPlatformMisc -sGhcRTSWays :: Settings -> String -sGhcRTSWays = platformMisc_ghcRTSWays . sPlatformMisc sLibFFI :: Settings -> Bool sLibFFI = platformMisc_libFFI . sPlatformMisc -sGhcRtsWithLibdw :: Settings -> Bool -sGhcRtsWithLibdw = platformMisc_ghcRtsWithLibdw . sPlatformMisc |