Skip to content

Commit

Permalink
Support --RTS
Browse files Browse the repository at this point in the history
… as suggested by @geekosaur
  • Loading branch information
Gabriella439 committed Oct 24, 2023
1 parent 1c19296 commit b689455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Program/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ runGHCWithResponseFile workDir fileNameTemplate encoding verbosity ghcProg comp
case arg of
"+RTS" -> (True, responseFileArgs, arg : otherArgs)
"-RTS" -> (False, responseFileArgs, arg : otherArgs)
"--RTS" -> (False, args, [arg])
_
| isRTSOption -> (isRTSOption, responseFileArgs, arg : otherArgs)
| otherwise -> (isRTSOption, arg : responseFileArgs, otherArgs)
Expand Down

0 comments on commit b689455

Please sign in to comment.