| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Runtime.Interpreter.Init
Synopsis
- initInterpreter :: TmpFs -> Logger -> Platform -> FinderCache -> UnitEnv -> InterpOpts -> IO (Maybe Interp)
- data InterpOpts = InterpOpts {
- interpExternal :: !Bool
- interpProg :: String
- interpOpts :: [String]
- interpWays :: Ways
- interpNameVer :: GhcNameVersion
- interpLdConfig :: LdConfig
- interpCcConfig :: CcConfig
- interpJsInterp :: FilePath
- interpTmpDir :: TempDir
- interpFinderOpts :: FinderOpts
- interpJsCodegenCfg :: StgToJSConfig
- interpVerbosity :: Int
- interpCreateProcess :: Maybe (CreateProcess -> IO ProcessHandle)
- interpWasmDyld :: FilePath
- interpBrowser :: Bool
- interpBrowserHost :: String
- interpBrowserPort :: Int
- interpBrowserRedirectWasiConsole :: Bool
- interpBrowserPuppeteerLaunchOpts :: Maybe String
- interpBrowserPlaywrightBrowserType :: Maybe String
- interpBrowserPlaywrightLaunchOpts :: Maybe String
- interpExecutableLinkOpts :: ExecutableLinkOpts
Documentation
initInterpreter :: TmpFs -> Logger -> Platform -> FinderCache -> UnitEnv -> InterpOpts -> IO (Maybe Interp) Source #
Initialize code interpreter
data InterpOpts Source #
Constructors