diff --git a/parser-typechecker/unison-parser-typechecker.cabal b/parser-typechecker/unison-parser-typechecker.cabal index 3d8a37907f..c4c9e968ee 100644 --- a/parser-typechecker/unison-parser-typechecker.cabal +++ b/parser-typechecker/unison-parser-typechecker.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.37.0. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack diff --git a/unison-runtime/unison-runtime.cabal b/unison-runtime/unison-runtime.cabal index 6f7bc7219b..1e9447a4f3 100644 --- a/unison-runtime/unison-runtime.cabal +++ b/unison-runtime/unison-runtime.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.37.0. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -21,15 +21,15 @@ flag arraychecks manual: True default: False -flag dumpcore +flag codeserialchecks manual: True default: False -flag optchecks +flag dumpcore manual: True default: False -flag codeserialchecks +flag optchecks manual: True default: False @@ -166,7 +166,7 @@ library build-depends: inspection-testing if flag(codeserialchecks) - cpp-options: -DCODE_SERIAL_CHECK + ghc-options: -DCODE_SERIAL_CHECK if flag(dumpcore) ghc-options: -ddump-simpl -ddump-stg-final -ddump-to-file -dsuppress-coercions -dsuppress-idinfo -dsuppress-module-prefixes -ddump-str-signatures -ddump-simpl-stats @@ -253,5 +253,7 @@ test-suite runtime-tests cpp-options: -DOPT_CHECK build-depends: inspection-testing + if flag(codeserialchecks) + ghc-options: -DCODE_SERIAL_CHECK if flag(dumpcore) ghc-options: -ddump-simpl -ddump-stg-final -ddump-to-file -dsuppress-coercions -dsuppress-idinfo -dsuppress-module-prefixes -ddump-str-signatures -ddump-simpl-stats