summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-30 09:04:17 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-05-30 09:06:47 +0100
commit2c0c15e684bd6a7d13743cd14484c8e506d1436e (patch)
tree0e7d05dac58e9df13028b7cff5f00221815fa49b
parented37027f713bb6563fd98d144a39211339fd91a5 (diff)
downloadhaskell-wip/enable-lint-ci.tar.gz
Enable -dlint in hadrian lint transformerwip/enable-lint-ci
Now #21563 is fixed we can properly enable `-dlint` in CI rather than a subset of the flags.
-rw-r--r--hadrian/src/Flavour.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs
index 46fdd9abaf..ecc127b69c 100644
--- a/hadrian/src/Flavour.hs
+++ b/hadrian/src/Flavour.hs
@@ -142,9 +142,7 @@ enableLinting =
]
where
lint = mconcat
- [ arg "-dcore-lint"
- , arg "-dstg-lint"
- -- Should be -dlint but currently -dcmm-lint fails due to #21563
+ [ arg "-dlint"
]
-- | Enable Core, STG, and C-- linting in all compilations with the stage1 compiler.