cabal-version: 3.0
name: ghc-eventlog-loopback
version: 0.1.0.0
synopsis: Let an application read its own eventlog
description: Let an application read its own eventlog
license: BSD-3-Clause
license-file: LICENSE
author: Teo Camarasu
maintainer: teofilcamarasu@gmail.com
copyright: ghc-eventlog-loopback contributors
category: Development
build-type: Simple
extra-doc-files: CHANGELOG.md
bug-reports: https://codeberg.org/teo/ghc-eventlog-loopback/issues
tested-with:
GHC ==9.2.8
|| ==9.4.7
|| ==9.6.7
|| ==9.8.4
|| ==9.10.3
|| ==9.12.2
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules: GHC.RTS.Events.Loopback
c-sources: cbits/writer.c
build-depends:
base >=4.16 && <4.23,
bytestring >=0.11 && <0.13
hs-source-dirs: src
default-language: Haskell2010
test-suite test
import: warnings
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
ghc-options: -eventlog -threaded -with-rtsopts "-N2 -la"
build-depends:
base,
ghc-events,
ghc-eventlog-loopback
source-repository head
type: git
location: https://codeberg.org/teo/ghc-eventlog-loopback.git