Skip to content

Commit

Permalink
-O0 for developer flag
Browse files Browse the repository at this point in the history
  • Loading branch information
BebeSparkelSparkel committed May 5, 2024
1 parent cd295ec commit f0337f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ library

ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
if flag(developer)
ghc-options: -fno-ignore-asserts
ghc-options: -fno-ignore-asserts -O0
cpp-options: -DASSERTS
if impl(ghc >= 9.2.2)
ghc-options: -fcheck-prim-bounds
Expand Down Expand Up @@ -260,6 +260,8 @@ test-suite tests
type: exitcode-stdio-1.0
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N
if flag(developer)
ghc-options: -O0

hs-source-dirs: tests
main-is: Tests.hs
Expand Down

0 comments on commit f0337f2

Please sign in to comment.