summaryrefslogtreecommitdiff
path: root/ghc-gc-hook.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-04-22 23:33:12 +0200
committerTom Smeding <tom@tomsmeding.com>2022-04-22 23:38:30 +0200
commit6ca1e41da1d702467dbfb0d6bf7b463884eedc31 (patch)
tree0a68c1341abdd370b7086985fbc4fc0c0132a2c8 /ghc-gc-hook.cabal
parent3654951ca31b225c84c1b1fa8eafe34b701c91e6 (diff)
0.2.0: C hook delegate and enable/disable logging
Diffstat (limited to 'ghc-gc-hook.cabal')
-rw-r--r--ghc-gc-hook.cabal8
1 files changed, 5 insertions, 3 deletions
diff --git a/ghc-gc-hook.cabal b/ghc-gc-hook.cabal
index 0d6884d..0865edc 100644
--- a/ghc-gc-hook.cabal
+++ b/ghc-gc-hook.cabal
@@ -1,7 +1,7 @@
cabal-version: 2.0
name: ghc-gc-hook
synopsis: GHC garbage collection hook
-version: 0.1.0.0
+version: 0.2.0.0
category: GHC
license: MIT
author: Tom Smeding
@@ -11,11 +11,11 @@ build-type: Simple
library
exposed-modules:
GHC.GC_Hook
+ hs-source-dirs: src
c-sources: cbits/hook.c
build-depends:
base >= 4.13 && < 4.17,
clock
- hs-source-dirs: src
default-language: Haskell2010
cc-options: -Wall
ghc-options: -Wall
@@ -24,9 +24,11 @@ test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
+ c-sources: test/cbits/testhook.c
build-depends:
base >= 4.13 && < 4.17,
- ghc-gc-hook
+ ghc-gc-hook,
+ clock
default-language: Haskell2010
ghc-options: -Wall -threaded