[GHC] #15261: Show -with-rtsopts options in runtime's --info
GHC
ghc-devs at haskell.org
Mon Jun 11 16:53:14 UTC 2018
#15261: Show -with-rtsopts options in runtime's --info
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
As far as I know currently we don't have a way to show `-with-rtsopts`
options provided when compiling an executable. It'd be useful if `--info`
showed this. Some use cases:
- When you have multiple binaries of the same program you can see how each
one is compiled. Useful when debugging.
- Sometimes we instruct users saying "compile with this and run with
that". This steps becomes easier with `-with-rtsopts` because with that
the user doesn't have to pass runtime parameters. But currently we don't
have an easy way check if the users did it right. If `+RTS --info` showed
this information we could say "look at the info, you should see this and
that".
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15261>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list