diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-07-11 12:30:06 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-13 14:00:56 -0400 |
commit | 6a9e44932945bfcc2f2eb169bd175ab029d9bf72 (patch) | |
tree | 8d6fb13f528651a4d91c6ee8bbd44b3205c42bc0 /hadrian/src/Flavour.hs | |
parent | 9c52e7fcacb8ba163e980c9765ebff5d91ae6f4a (diff) | |
download | haskell-6a9e44932945bfcc2f2eb169bd175ab029d9bf72.tar.gz |
Hadrian: update documentation of settings
The documentation for key-value settings was a bit out of date.
This patch updates it to account for `cabal.configure.opts` and
`hsc2hs.run.opts`.
The user-settings document was also re-arranged, to make the key-value
settings more prominent (as it doesn't involve changing the Hadrian
source code, and thus doesn't require any recompilation of Hadrian).
Diffstat (limited to 'hadrian/src/Flavour.hs')
-rw-r--r-- | hadrian/src/Flavour.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index 84fefcae00..3b81c3fd77 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -145,7 +145,7 @@ enableLinting = [ arg "-dlint" ] --- | Enable Core, STG, and C-- linting in all compilations with the stage1 compiler. +-- | Enable Haddock documentation. enableHaddock :: Flavour -> Flavour enableHaddock = addArgs $ stage1 ? mconcat @@ -469,6 +469,7 @@ data BuilderMode = BM_Ghc (Wildcard GhcMode) -- > (<stage> or *).(<package name> or *).ghc.(<ghc mode> or *).opts -- > (<stage> or *).(<package name> or *).cc.(<cc mode> or *).opts -- > (<stage> or *).(<package name> or *).cabal.configure.opts +-- > (<stage> or *).(<package name> or *).hsc2hs.run.opts -- > runtest.opts -- -- where: |