Skip to content

Commit

Permalink
Simplify support of 32-bit architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Mar 12, 2024
1 parent 6a671f6 commit acbb6d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
11 changes: 0 additions & 11 deletions src-gen/Data/Vector/Hashtables/Internal/Mask.hs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ License : BSD3
module Data.Vector.Hashtables.Internal.Mask where

-- | 'Int' mask. For 32-bit it is equal to @0x7FFFFFFF@. Otherwise, @0x7FFFFFFFFFFFFFFF@.
mask = 0x7FFFFFFF :: Int
mask = maxBound :: Int
{-# INLINE mask #-}
7 changes: 1 addition & 6 deletions vector-hashtables.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ category: Data
build-type: Simple
extra-doc-files: README.md,
changelog.md
extra-source-files: src-i386/Data/Vector/Hashtables/Internal/Mask.hs,
src-gen/Data/Vector/Hashtables/Internal/Mask.hs
tested-with:
GHC == 9.8.1
GHC == 9.6.3
Expand All @@ -29,10 +27,7 @@ tested-with:
GHC == 8.6.5

library
if arch(i386) || arch(wasm32)
hs-source-dirs: src, src-i386
else
hs-source-dirs: src, src-gen
hs-source-dirs: src
exposed-modules: Data.Vector.Hashtables,
Data.Vector.Hashtables.Internal,
Data.Vector.Hashtables.Internal.Mask,
Expand Down

0 comments on commit acbb6d0

Please sign in to comment.