• Javran Cheng's avatar
    rts: add "-no-rtsopts-suggestions" option · 477f514f
    Javran Cheng authored
    Depends on D767
    Setting this flag prevents RTS from giving RTS suggestions like "Use
    `+RTS -Ksize -RTS' to increase it."
    According to the comment @rwbarton made in #9579, sometimes "+RTS"
    suggestions don't make sense (e.g. when the program is precompiled and
    installed through package managers), we can encourage people to
    distribute binaries with either "-no-rtsopts-suggestions" or "-rtsopts".
    Reviewed By: erikd, austin
    Differential Revision: https://phabricator.haskell.org/D809
    GHC Trac Issues: #9579
DynFlags.hs 173 KB