[Git][ghc/ghc][wip/romes/remove-toolchain-runtime-config] Fixes

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Mon Jun 26 16:31:34 UTC 2023



Rodrigo Mesquita pushed to branch wip/romes/remove-toolchain-runtime-config at Glasgow Haskell Compiler / GHC


Commits:
e982a545 by Rodrigo Mesquita at 2023-06-26T17:31:25+01:00
Fixes

- - - - -


5 changed files:

- compiler/GHC/Driver/DynFlags.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Linker/ExtraObj.hs
- compiler/GHC/SysTools.hs


Changes:

=====================================
compiler/GHC/Driver/DynFlags.hs
=====================================
@@ -116,7 +116,6 @@ import Control.Monad.Trans.Class (lift)
 import Control.Monad.Trans.Except (ExceptT)
 import Control.Monad.Trans.Reader (ReaderT)
 import Control.Monad.Trans.Writer (WriterT)
-import Data.IORef
 import System.IO
 import System.IO.Error (catchIOError)
 import System.Environment (lookupEnv)


=====================================
compiler/GHC/Driver/Main.hs
=====================================
@@ -109,9 +109,6 @@ module GHC.Driver.Main
 
 import GHC.Prelude
 
-import GHC.Platform
-import GHC.Platform.Ways
-
 import GHC.Driver.Plugins
 import GHC.Driver.Session
 import GHC.Driver.Backend


=====================================
compiler/GHC/Driver/Pipeline/Execute.hs
=====================================
@@ -308,7 +308,6 @@ runAsPhase with_cpp pipe_env hsc_env location input_fn = do
               = withAtomicRename outputFilename $ \temp_outputFilename ->
                     runAs
                        logger dflags
-                       platform
                        (local_includes ++ global_includes
                        -- See Note [-fPIC for assembler]
                        ++ map GHC.SysTools.Option pic_c_flags


=====================================
compiler/GHC/Linker/ExtraObj.hs
=====================================
@@ -41,7 +41,6 @@ import GHC.SysTools.Elf
 import GHC.SysTools.Tasks
 import GHC.Linker.Unit
 
-import Control.Monad.IO.Class
 import Control.Monad
 import Data.Maybe
 


=====================================
compiler/GHC/SysTools.hs
=====================================
@@ -34,7 +34,6 @@ import GHC.Prelude
 import GHC.Utils.Panic
 import GHC.Driver.Session
 
-import GHC.Linker.ExtraObj
 import GHC.SysTools.Tasks
 import GHC.SysTools.BaseDir
 import GHC.Settings.IO



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e982a545930aa6207f7646bf785e1bb4ca8993c1
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/20230626/61d8a001/attachment-0001.html>


More information about the ghc-commits mailing list