File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,15 @@ library
97
97
else
98
98
extra-libraries : stdc++
99
99
100
+ -- Certain version of GHC crash on Windows, when TemplateHaskell encounters C++.
101
+ -- https://gitlab.haskell.org/ghc/ghc/-/issues/19417
102
+ if flag(simdutf) && os(windows) && impl(ghc == 8.0.1 || >= 8.8 && < 8.10.5 || == 9.0.1 )
103
+ build-depends : base < 0
104
+
105
+ -- For GHC 8.2, 8.6.3 and 8.10.1 even TH + C crash Windows linker.
106
+ if os(windows) && impl(ghc >= 8.2 && < 8.4 || == 8.6.3 || == 8.10.1 )
107
+ build-depends : base < 0
108
+
100
109
exposed-modules :
101
110
Data.Text
102
111
Data.Text.Array
@@ -229,7 +238,8 @@ test-suite tests
229
238
230
239
-- Starting from 9.2 ghc library depends on parsec,
231
240
-- which causes circular dependency.
232
- if impl(ghc < 9.2 )
241
+ -- Plugin infrastructure does not work properly in 8.0.1 and 8.6.1
242
+ if impl(ghc >= 8.0.2 && < 8.6 || >= 8.6.2 && < 9.2 )
233
243
build-depends : tasty-inspection-testing
234
244
235
245
default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments