Skip to content

Commit 79f5fee

Browse files
committed
Update comment about ghc9 crashing on initDynLinker
1 parent 538e1f1 commit 79f5fee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ghcide/session-loader/Development/IDE/Session.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ emptyHscEnv :: IORef NameCache -> FilePath -> IO HscEnv
527527
emptyHscEnv nc libDir = do
528528
env <- runGhc (Just libDir) getSession
529529
#if !MIN_VERSION_ghc(9,0,0)
530-
-- This causes ghc9 to crash
530+
-- This causes ghc9 to crash with the error:
531+
-- Couldn't find a target code interpreter. Try with -fexternal-interpreter
531532
initDynLinker env
532533
#endif
533534
pure $ setNameCache nc env{ hsc_dflags = (hsc_dflags env){useUnicode = True } }

0 commit comments

Comments
 (0)