summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authormniip <mniip@mniip.com>2020-04-22 18:27:39 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-23 18:33:21 -0400
commit72da0c29cd7c336cdce3b36d1dd9e8b65a53afbd (patch)
treee22c0e2cbb3c1d7f341ee2ff7da2e42a13b3d277 /hadrian
parentc42754d5fdd3c2db554d9541bab22d1b3def4be7 (diff)
downloadhaskell-72da0c29cd7c336cdce3b36d1dd9e8b65a53afbd.tar.gz
Add :doc to GHC.Prim
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules/Generate.hs3
-rw-r--r--hadrian/src/Settings/Builders/GenPrimopCode.hs1
2 files changed, 3 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Generate.hs b/hadrian/src/Rules/Generate.hs
index c943d97129..51afdf8724 100644
--- a/hadrian/src/Rules/Generate.hs
+++ b/hadrian/src/Rules/Generate.hs
@@ -73,7 +73,8 @@ compilerDependencies = do
, "primop-vector-tycons.hs-incl"
, "primop-vector-tys-exports.hs-incl"
, "primop-vector-tys.hs-incl"
- , "primop-vector-uniques.hs-incl" ] ]
+ , "primop-vector-uniques.hs-incl"
+ , "primop-docs.hs-incl" ] ]
generatedDependencies :: Expr [FilePath]
generatedDependencies = do
diff --git a/hadrian/src/Settings/Builders/GenPrimopCode.hs b/hadrian/src/Settings/Builders/GenPrimopCode.hs
index e616ed3b43..2640ee14c7 100644
--- a/hadrian/src/Settings/Builders/GenPrimopCode.hs
+++ b/hadrian/src/Settings/Builders/GenPrimopCode.hs
@@ -21,4 +21,5 @@ genPrimopCodeBuilderArgs = builder GenPrimopCode ? mconcat
, output "//primop-vector-tys.hs-incl" ? arg "--primop-vector-tys"
, output "//primop-vector-tys-exports.hs-incl" ? arg "--primop-vector-tys-exports"
, output "//primop-vector-tycons.hs-incl" ? arg "--primop-vector-tycons"
+ , output "//primop-docs.hs-incl" ? arg "--wired-in-docs"
, output "//primop-usage.hs-incl" ? arg "--usage" ]