File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ test-suite tests
104104 , tasty-quickcheck
105105
106106benchmark bench
107- import : language
107+ import : language, warnings
108108 type : exitcode-stdio-1.0
109109 hs-source-dirs : bench
110110 main-is : bloomfilter-bench.hs
@@ -130,7 +130,7 @@ executable fpr-calc
130130 ghc-options : -threaded
131131
132132executable spell
133- import : language
133+ import : language, warnings
134134 scope : private
135135 hs-source-dirs : examples
136136 main-is : spell.hs
@@ -140,7 +140,7 @@ executable spell
140140
141141-- this exists due to windows
142142library xxhash
143- import : language
143+ import : language, warnings
144144 visibility : private
145145 include-dirs : xxhash/xxHash-0.8.2/ xxhash/include/
146146 includes :
@@ -162,7 +162,7 @@ library xxhash
162162 , primitive ^>= 0.9
163163
164164test-suite xxhash-tests
165- import : language
165+ import : language, warnings
166166 type : exitcode-stdio-1.0
167167 hs-source-dirs : xxhash/tests
168168 main-is : xxhash-tests.hs
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ module FFI (
1919) where
2020
2121import Data.Word (Word32 , Word64 , Word8 )
22- import Foreign.C.Types (CInt ( .. ), CSize (.. ))
22+ import Foreign.C.Types (CSize (.. ))
2323import Foreign.Ptr (Ptr )
2424import GHC.Exts (ByteArray #, MutableByteArray #)
2525
Original file line number Diff line number Diff line change @@ -18,12 +18,10 @@ module XXH3 (
1818 xxh3_64bit_update_w32 ,
1919) where
2020
21- import Control.Monad (unless )
2221import Control.Monad.ST (ST )
2322import Control.Monad.ST.Unsafe (unsafeIOToST )
2423import Data.ByteString.Internal (ByteString (.. ),
2524 accursedUnutterablePerformIO )
26- import Data.Coerce (coerce )
2725import qualified Data.Primitive as P
2826import Data.Primitive.ByteArray (ByteArray (.. ))
2927import Data.Word (Word32 , Word64 )
You can’t perform that action at this time.
0 commit comments