[GHC] #12870: Allow completely disabling +RTS options parsing
GHC
ghc-devs at haskell.org
Tue Nov 22 20:45:48 UTC 2016
#12870: Allow completely disabling +RTS options parsing
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner:
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
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:
-------------------------------------+-------------------------------------
I'd like to have a way to completely disable the +RTS flag so that a ghc-
compiled binary does not eat it, but keeps it in `argv`/`getArgs` instead.
This is needed whenever you try to make a program that's supposed to pass
on all arguments, for example something like `ccache` or
[https://github.com/fpco/pid1 pid1]. As you can imagine, swallowing +RTS
argument's isn't great when you want to pass them on to a Haskell program.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12870>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list