Show -with-rtsopts options in runtime's --info
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-rtsoptsbecause 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 --infoshowed this information we could say "look at the info, you should see this and that".