[Git][ghc/ghc][master] hadrian: remove unused ghciWithDebugger field from flavour config

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Mon Oct 7 23:28:18 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
c6e5fd3d by Cheng Shao at 2024-10-07T19:26:47-04:00
hadrian: remove unused ghciWithDebugger field from flavour config

This patch removes the ghciWithDebugger field from flavour config
since it's actually not used anywhere.

- - - - -


3 changed files:

- hadrian/doc/user-settings.md
- hadrian/src/Flavour/Type.hs
- hadrian/src/Settings/Default.hs


Changes:

=====================================
hadrian/doc/user-settings.md
=====================================
@@ -33,9 +33,6 @@ data Flavour = Flavour {
     rtsWays :: Ways,
     -- | Build dynamic GHC programs.
     dynamicGhcPrograms :: Action Bool,
-    -- | Enable GHCi debugger.
-    ghciWithDebugger :: Stage -- ^ stage of the /built/ compiler
-                     -> Bool,
     -- | Build profiled GHC.
     ghcProfiled :: Stage -- ^ stage of the /built/ compiler
                 -> Bool,


=====================================
hadrian/src/Flavour/Type.hs
=====================================
@@ -32,9 +32,6 @@ data Flavour = Flavour {
     rtsWays :: Ways,
     -- | Build dynamic GHC programs.
     dynamicGhcPrograms :: Action Bool,
-    -- | Enable GHCi debugger.
-    ghciWithDebugger :: Stage -- ^ stage of the /built/ compiler
-                     -> Bool,
     -- | Build profiled GHC.
     ghcProfiled :: Stage -- ^ stage of the /built/ compiler
                 -> Bool,


=====================================
hadrian/src/Settings/Default.hs
=====================================
@@ -276,7 +276,6 @@ defaultFlavour = Flavour
     , libraryWays        = defaultLibraryWays
     , rtsWays            = defaultRtsWays
     , dynamicGhcPrograms = defaultDynamicGhcPrograms
-    , ghciWithDebugger   = const False
     , ghcProfiled        = const False
     , ghcDebugged        = const False
     , ghcThreaded        = const True



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c6e5fd3d29219f69935eb117648e4eeab16bba13

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c6e5fd3d29219f69935eb117648e4eeab16bba13
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241007/78b81fd7/attachment-0001.html>


More information about the ghc-commits mailing list